home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-03-25 | 12.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
| |
100%
| gt2
| Kopftext: '.Demo'
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 2e 44 65 6d 6f 00 80 c3 | 00 00 80 33 2e 77 00 87 |.Demo...|...3.w..|
|00000010| e5 20 e0 85 00 87 86 20 | e0 85 00 00 2a 53 63 72 |. ..... |....*Scr|
|00000020| 56 50 2e 5f 56 69 65 77 | 50 6f 72 74 3d 30 00 49 |VP._View|Port=0.I|
|00000030| 73 41 47 41 2e 62 3d bc | 0e 20 3b 20 44 65 66 61 |sAGA.b=.|. ; Defa|
|00000040| 75 6c 74 73 20 74 6f 20 | 41 47 41 00 80 04 20 50 |ults to |AGA... P|
|00000050| 6c 61 6e 61 72 42 75 66 | 2e 6c 28 32 29 20 3b 20 |lanarBuf|.l(2) ; |
|00000060| 42 61 73 65 20 61 64 64 | 72 65 73 73 20 6f 66 20 |Base add|ress of |
|00000070| 70 6c 61 6e 61 72 20 6d | 65 6d 6f 72 79 20 74 6f |planar m|emory to|
|00000080| 20 6f 75 74 70 75 74 20 | 63 32 70 20 74 6f 20 28 | output |c2p to (|
|00000090| 61 6c 6c 6f 77 65 64 20 | 75 70 20 74 6f 20 74 72 |allowed |up to tr|
|000000a0| 69 70 6c 65 20 62 75 66 | 66 65 72 73 29 00 00 50 |iple buf|fers)..P|
|000000b0| 72 65 66 44 69 73 70 6c | 61 79 49 44 2e 6c 3d 24 |refDispl|ayID.l=$|
|000000c0| 30 20 3b 20 44 65 66 61 | 75 6c 74 20 4d 6f 64 65 |0 ; Defa|ult Mode|
|000000d0| 49 44 20 28 50 61 6c 3a | 4c 6f 77 52 65 73 2c 20 |ID (Pal:|LowRes, |
|000000e0| 6f 72 20 70 72 6f 6d 6f | 74 65 73 20 74 6f 20 44 |or promo|tes to D|
|000000f0| 6f 75 62 6c 65 50 61 6c | 3a 4c 6f 77 52 65 73 29 |oublePal|:LowRes)|
|00000100| 00 50 72 65 66 44 69 73 | 70 6c 61 79 57 69 64 74 |.PrefDis|playWidt|
|00000110| 68 2e 77 3d 33 32 30 20 | 3b 20 44 65 66 61 75 6c |h.w=320 |; Defaul|
|00000120| 74 20 57 69 64 74 68 00 | 50 72 65 66 44 69 73 70 |t Width.|PrefDisp|
|00000130| 6c 61 79 48 65 69 67 68 | 74 2e 77 3d 32 34 30 20 |layHeigh|t.w=240 |
|00000140| 3b 20 44 65 66 61 75 6c | 74 20 48 65 69 67 68 74 |; Defaul|t Height|
|00000150| 00 50 72 65 66 44 69 73 | 70 6c 61 79 42 75 66 66 |.PrefDis|playBuff|
|00000160| 65 72 69 6e 67 2e 62 3d | 33 20 3b 20 31 2e 2e 33 |ering.b=|3 ; 1..3|
|00000170| 2e 20 31 3d 53 69 6e 67 | 6c 65 62 75 66 66 65 72 |. 1=Sing|lebuffer|
|00000180| 65 64 2c 20 32 3d 44 6f | 75 62 6c 65 62 75 66 66 |ed, 2=Do|ublebuff|
|00000190| 65 72 65 64 2c 20 33 3d | 54 72 69 70 6c 65 62 75 |ered, 3=|Triplebu|
|000001a0| 66 66 65 72 65 64 00 50 | 72 65 66 44 69 73 70 6c |ffered.P|refDispl|
|000001b0| 61 79 4d 65 74 68 6f 64 | 2e 62 3d 32 20 3b 20 30 |ayMethod|.b=2 ; 0|
|000001c0| 3d 57 72 69 74 65 50 69 | 78 65 6c 41 72 72 61 79 |=WritePi|xelArray|
|000001d0| 38 2f 57 72 69 74 65 43 | 68 75 6e 6b 79 50 69 78 |8/WriteC|hunkyPix|
|000001e0| 65 6c 73 2c 20 31 3d 4d | 42 6c 6f 63 6b 53 63 72 |els, 1=M|BlockScr|
|000001f0| 6f 6c 6c 2c 20 32 3d 57 | 72 69 74 65 50 69 78 65 |oll, 2=W|ritePixe|
|00000200| 6c 41 72 72 61 79 28 43 | 47 46 58 29 00 50 72 65 |lArray(C|GFX).Pre|
|00000210| 66 43 47 46 58 4c 6f 63 | 6b 2e 62 3d bc 0e 20 3b |fCGFXLoc|k.b=.. ;|
|00000220| 20 57 65 74 68 65 72 20 | 77 68 65 6e 20 4d 65 74 | Wether |when Met|
|00000230| 68 6f 64 3d 31 2c 20 43 | 47 46 58 20 4c 6f 63 6b |hod=1, C|GFX Lock|
|00000240| 42 69 74 6d 61 70 20 77 | 69 6c 6c 20 62 65 20 61 |Bitmap w|ill be a|
|00000250| 74 74 65 6d 70 74 65 64 | 20 66 6f 72 20 73 61 66 |ttempted| for saf|
|00000260| 65 74 79 20 61 6e 64 20 | 74 6f 20 67 65 74 20 62 |ety and |to get b|
|00000270| 61 73 65 20 61 64 64 72 | 65 73 73 00 4f 53 56 65 |ase addr|ess.OSVe|
|00000280| 72 73 69 6f 6e 2e 77 3d | e0 87 00 43 47 46 58 41 |rsion.w=|...CGFXA|
|00000290| 76 61 69 6c 2e 62 3d bc | 0f 20 3b 20 44 65 66 61 |vail.b=.|. ; Defa|
|000002a0| 75 6c 74 00 00 23 44 54 | 41 47 5f 44 49 53 50 3d |ult..#DT|AG_DISP=|
|000002b0| 24 38 30 30 30 30 30 30 | 30 00 23 44 54 41 47 5f |$8000000|0.#DTAG_|
|000002c0| 44 49 4d 53 3d 24 38 30 | 30 30 31 30 30 30 00 23 |DIMS=$80|001000.#|
|000002d0| 44 54 41 47 5f 4d 4e 54 | 52 3d 24 38 30 30 30 32 |DTAG_MNT|R=$80002|
|000002e0| 30 30 30 00 23 44 54 41 | 47 5f 4e 41 4d 45 3d 24 |000.#DTA|G_NAME=$|
|000002f0| 38 30 30 30 33 30 30 30 | 00 23 4c 42 4d 49 5f 42 |80003000|.#LBMI_B|
|00000300| 41 53 45 41 44 44 52 45 | 53 53 3d 24 38 34 30 30 |ASEADDRE|SS=$8400|
|00000310| 31 30 30 37 00 23 44 49 | 50 46 5f 49 53 5f 46 4f |1007.#DI|PF_IS_FO|
|00000320| 52 45 49 47 4e 3d 24 38 | 30 30 30 30 30 30 30 00 |REIGN=$8|0000000.|
|00000330| 23 44 49 50 46 5f 49 53 | 5f 45 43 53 3d 24 30 30 |#DIPF_IS|_ECS=$00|
|00000340| 30 30 30 30 31 30 00 23 | 44 49 50 46 5f 49 53 5f |000010.#|DIPF_IS_|
|00000350| 41 47 41 3d 24 30 30 30 | 31 30 30 30 30 00 00 80 |AGA=$000|10000...|
|00000360| 0b 20 df 04 28 30 29 3d | 30 20 80 42 20 df 04 28 |. ..(0)=|0 .B ..(|
|00000370| 31 29 3d 30 20 80 21 20 | 80 05 20 53 6b 69 70 53 |1)=0 .! |.. SkipS|
|00000380| 4d 52 00 00 80 01 2e 53 | 4d 6f 64 65 00 20 20 44 |MR.....S|Mode. D|
|00000390| 49 44 2e 6c 00 20 20 44 | 57 69 64 74 68 2e 6c 00 |ID.l. D|Width.l.|
|000003a0| 20 20 44 48 65 69 67 68 | 74 2e 6c 00 20 20 44 44 | DHeigh|t.l. DD|
|000003b0| 65 70 74 68 2e 77 00 20 | 20 44 54 79 70 65 2e 77 |epth.w. | DType.w|
|000003c0| 00 80 02 20 80 01 00 00 | 80 33 2e 48 6f 6f 6b 20 |... ....|.3.Hook |
|000003d0| 6d 79 68 6f 6f 6b 20 3b | 20 54 68 65 20 68 6f 6f |myhook ;| The hoo|
|000003e0| 6b 20 66 6f 72 20 41 53 | 4c 20 74 61 67 20 61 73 |k for AS|L tag as|
|000003f0| 20 26 6d 79 68 6f 6f 6b | 00 6d 79 68 6f 6f 6b 5c | &myhook|.myhook\|
|00000400| 68 5f 45 6e 74 72 79 3d | 3f 68 6f 6f 6b 00 80 7e |h_Entry=|?hook..~|
|00000410| 2e 6c 20 61 35 2c 67 6c | 6f 62 61 6c 62 61 73 65 |.l a5,gl|obalbase|
|00000420| 00 66 75 6e 63 72 65 74 | 2e 6c 3d 30 00 00 80 04 |.funcret|.l=0....|
|00000430| 20 53 4d 52 74 61 67 73 | 2e 54 61 67 49 74 65 6d | SMRtags|.TagItem|
|00000440| 28 31 37 29 00 53 4d 52 | 74 61 67 73 28 30 29 5c |(17).SMR|tags(0)\|
|00000450| 74 69 5f 54 61 67 3d 23 | 41 53 4c 53 4d 5f 49 6e |ti_Tag=#|ASLSM_In|
|00000460| 69 74 69 61 6c 4c 65 66 | 74 45 64 67 65 2c 31 36 |itialLef|tEdge,16|
|00000470| 30 20 3b 20 58 20 63 6f | 6f 72 64 20 6f 66 20 72 |0 ; X co|ord of r|
|00000480| 65 71 75 65 73 74 65 72 | 00 53 4d 52 74 61 67 73 |equester|.SMRtags|
|00000490| 28 31 29 5c 74 69 5f 54 | 61 67 3d 23 41 53 4c 53 |(1)\ti_T|ag=#ASLS|
|000004a0| 4d 5f 49 6e 69 74 69 61 | 6c 54 6f 70 45 64 67 65 |M_Initia|lTopEdge|
|000004b0| 2c 30 20 3b 20 59 20 63 | 6f 6f 72 64 20 6f 66 20 |,0 ; Y c|oord of |
|000004c0| 72 65 71 75 65 73 74 65 | 72 00 53 4d 52 74 61 67 |requeste|r.SMRtag|
|000004d0| 73 28 32 29 5c 74 69 5f | 54 61 67 3d 23 41 53 4c |s(2)\ti_|Tag=#ASL|
|000004e0| 53 4d 5f 49 6e 69 74 69 | 61 6c 57 69 64 74 68 2c |SM_Initi|alWidth,|
|000004f0| 33 30 30 20 3b 20 57 69 | 64 74 68 20 6f 66 20 72 |300 ; Wi|dth of r|
|00000500| 65 71 75 65 73 74 65 72 | 00 53 4d 52 74 61 67 73 |equester|.SMRtags|
|00000510| 28 33 29 5c 74 69 5f 54 | 61 67 3d 23 41 53 4c 53 |(3)\ti_T|ag=#ASLS|
|00000520| 4d 5f 49 6e 69 74 69 61 | 6c 48 65 69 67 68 74 2c |M_Initia|lHeight,|
|00000530| 34 30 30 20 3b 20 48 65 | 69 67 68 74 20 6f 66 20 |400 ; He|ight of |
|00000540| 72 65 71 75 65 73 74 65 | 72 00 53 4d 52 74 61 67 |requeste|r.SMRtag|
|00000550| 73 28 34 29 5c 74 69 5f | 54 61 67 3d 23 41 53 4c |s(4)\ti_|Tag=#ASL|
|00000560| 53 4d 5f 49 6e 69 74 69 | 61 6c 44 69 73 70 6c 61 |SM_Initi|alDispla|
|00000570| 79 49 44 2c 24 32 31 30 | 30 30 20 3b 20 44 65 66 |yID,$210|00 ; Def|
|00000580| 61 75 6c 74 20 4d 6f 64 | 65 49 44 20 28 50 61 6c |ault Mod|eID (Pal|
|00000590| 3a 4c 6f 77 52 65 73 29 | 00 53 4d 52 74 61 67 73 |:LowRes)|.SMRtags|
|000005a0| 28 35 29 5c 74 69 5f 54 | 61 67 3d 23 41 53 4c 53 |(5)\ti_T|ag=#ASLS|
|000005b0| 4d 5f 49 6e 69 74 69 61 | 6c 44 69 73 70 6c 61 79 |M_Initia|lDisplay|
|000005c0| 44 65 70 74 68 2c 38 20 | 3b 20 44 65 66 61 75 6c |Depth,8 |; Defaul|
|000005d0| 74 20 64 65 70 74 68 20 | 28 38 2d 62 69 74 20 75 |t depth |(8-bit u|
|000005e0| 73 75 61 6c 6c 79 29 00 | 53 4d 52 74 61 67 73 28 |sually).|SMRtags(|
|000005f0| 36 29 5c 74 69 5f 54 61 | 67 3d 23 41 53 4c 53 4d |6)\ti_Ta|g=#ASLSM|
|00000600| 5f 49 6e 69 74 69 61 6c | 44 69 73 70 6c 61 79 57 |_Initial|DisplayW|
|00000610| 69 64 74 68 2c 50 72 65 | 66 44 69 73 70 6c 61 79 |idth,Pre|fDisplay|
|00000620| 57 69 64 74 68 00 53 4d | 52 74 61 67 73 28 37 29 |Width.SM|Rtags(7)|
|00000630| 5c 74 69 5f 54 61 67 3d | 23 41 53 4c 53 4d 5f 49 |\ti_Tag=|#ASLSM_I|
|00000640| 6e 69 74 69 61 6c 44 69 | 73 70 6c 61 79 48 65 69 |nitialDi|splayHei|
|00000650| 67 68 74 2c 50 72 65 66 | 44 69 73 70 6c 61 79 48 |ght,Pref|DisplayH|
|00000660| 65 69 67 68 74 00 53 4d | 52 74 61 67 73 28 38 29 |eight.SM|Rtags(8)|
|00000670| 5c 74 69 5f 54 61 67 3d | 23 41 53 4c 53 4d 5f 49 |\ti_Tag=|#ASLSM_I|
|00000680| 6e 69 74 69 61 6c 4f 76 | 65 72 73 63 61 6e 54 79 |nitialOv|erscanTy|
|00000690| 70 65 2c 31 20 3b 20 44 | 65 66 61 75 6c 74 20 6f |pe,1 ; D|efault o|
|000006a0| 76 65 72 73 63 61 6e 20 | 74 79 70 65 20 28 54 65 |verscan |type (Te|
|000006b0| 78 74 29 00 53 4d 52 74 | 61 67 73 28 39 29 5c 74 |xt).SMRt|ags(9)\t|
|000006c0| 69 5f 54 61 67 3d 23 41 | 53 4c 53 4d 5f 49 6e 69 |i_Tag=#A|SLSM_Ini|
|000006d0| 74 69 61 6c 49 6e 66 6f | 4f 70 65 6e 65 64 2c 31 |tialInfo|Opened,1|
|000006e0| 20 3b 20 49 6e 66 6f 20 | 77 69 6e 64 6f 77 3f 00 | ; Info |window?.|
|000006f0| 53 4d 52 74 61 67 73 28 | 31 30 29 5c 74 69 5f 54 |SMRtags(|10)\ti_T|
|00000700| 61 67 3d 23 41 53 4c 53 | 4d 5f 49 6e 69 74 69 61 |ag=#ASLS|M_Initia|
|00000710| 6c 49 6e 66 6f 4c 65 66 | 74 45 64 67 65 2c 33 35 |lInfoLef|tEdge,35|
|00000720| 30 20 3b 20 58 20 63 6f | 6f 72 64 20 6f 66 20 69 |0 ; X co|ord of i|
|00000730| 6e 66 6f 20 77 69 6e 64 | 6f 77 00 53 4d 52 74 61 |nfo wind|ow.SMRta|
|00000740| 67 73 28 31 31 29 5c 74 | 69 5f 54 61 67 3d 23 41 |gs(11)\t|i_Tag=#A|
|00000750| 53 4c 53 4d 5f 49 6e 69 | 74 69 61 6c 49 6e 66 6f |SLSM_Ini|tialInfo|
|00000760| 54 6f 70 45 64 67 65 2c | 35 30 20 3b 20 59 20 63 |TopEdge,|50 ; Y c|
|00000770| 6f 6f 72 64 20 6f 66 20 | 69 6e 66 6f 20 77 69 6e |oord of |info win|
|00000780| 64 6f 77 00 53 4d 52 74 | 61 67 73 28 31 32 29 5c |dow.SMRt|ags(12)\|
|00000790| 74 69 5f 54 61 67 3d 23 | 41 53 4c 53 4d 5f 44 6f |ti_Tag=#|ASLSM_Do|
|000007a0| 44 65 70 74 68 2c 30 20 | 3b 20 44 65 70 74 68 20 |Depth,0 |; Depth |
|000007b0| 67 61 64 67 65 74 3f 20 | 28 47 65 6e 65 72 61 6c |gadget? |(General|
|000007c0| 6c 79 20 4e 4f 20 66 6f | 72 20 63 68 75 6e 6b 79 |ly NO fo|r chunky|
|000007d0| 20 38 2d 62 69 74 29 00 | 53 4d 52 74 61 67 73 28 | 8-bit).|SMRtags(|
|000007e0| 31 33 29 5c 74 69 5f 54 | 61 67 3d 23 41 53 4c 53 |13)\ti_T|ag=#ASLS|
|000007f0| 4d 5f 44 6f 4f 76 65 72 | 73 63 61 6e 54 79 70 65 |M_DoOver|scanType|
|00000800| 2c 30 20 3b 20 4f 76 65 | 72 73 63 61 6e 20 67 61 |,0 ; Ove|rscan ga|
|00000810| 64 67 65 74 3f 00 53 4d | 52 74 61 67 73 28 31 34 |dget?.SM|Rtags(14|
|00000820| 29 5c 74 69 5f 54 61 67 | 3d 23 41 53 4c 53 4d 5f |)\ti_Tag|=#ASLSM_|
|00000830| 44 6f 57 69 64 74 68 2c | 30 20 3b 20 57 69 64 74 |DoWidth,|0 ; Widt|
|00000840| 68 20 67 61 64 67 65 74 | 3f 00 53 4d 52 74 61 67 |h gadget|?.SMRtag|
|00000850| 73 28 31 35 29 5c 74 69 | 5f 54 61 67 3d 23 41 53 |s(15)\ti|_Tag=#AS|
|00000860| 4c 53 4d 5f 44 6f 48 65 | 69 67 68 74 2c 30 20 3b |LSM_DoHe|ight,0 ;|
|00000870| 20 48 65 69 67 68 74 20 | 67 61 64 67 65 74 3f 00 | Height |gadget?.|
|00000880| 53 4d 52 74 61 67 73 28 | 31 36 29 5c 74 69 5f 54 |SMRtags(|16)\ti_T|
|00000890| 61 67 3d 23 41 53 4c 53 | 4d 5f 46 69 6c 74 65 72 |ag=#ASLS|M_Filter|
|000008a0| 46 75 6e 63 2c 26 6d 79 | 68 6f 6f 6b 20 3b 20 41 |Func,&my|hook ; A|
|000008b0| 64 64 72 65 73 73 20 6f | 66 20 63 61 6c 6c 62 61 |ddress o|f callba|
|000008c0| 63 6b 20 68 6f 6f 6b 20 | 72 6f 75 74 69 6e 65 00 |ck hook |routine.|
|000008d0| 53 4d 52 74 61 67 73 28 | 31 37 29 5c 74 69 5f 54 |SMRtags(|17)\ti_T|
|000008e0| 61 67 3d 23 54 41 47 5f | 44 4f 4e 45 2c 30 00 00 |ag=#TAG_|DONE,0..|
|000008f0| 2a 73 72 65 71 2e 53 4d | 6f 64 65 3d 30 00 2a 73 |*sreq.SM|ode=0.*s|
|00000900| 72 65 71 3d fb 84 28 32 | 2c 26 53 4d 52 74 61 67 |req=..(2|,&SMRtag|
|00000910| 73 28 30 29 5c 74 69 5f | 54 61 67 29 00 6f 6b 2e |s(0)\ti_|Tag).ok.|
|00000920| 62 3d fb 86 28 2a 73 72 | 65 71 2c 26 53 4d 52 74 |b=..(*sr|eq,&SMRt|
|00000930| 61 67 73 28 30 29 5c 74 | 69 5f 54 61 67 29 00 00 |ags(0)\t|i_Tag)..|
|00000940| 80 0b 20 6f 6b 3c 3e 30 | 00 20 20 50 72 65 66 44 |.. ok<>0|. PrefD|
|00000950| 69 73 70 6c 61 79 49 44 | 2e 6c 3d 2a 73 72 65 71 |isplayID|.l=*sreq|
|00000960| 5c 44 49 44 00 20 20 50 | 72 65 66 44 69 73 70 6c |\DID. P|refDispl|
|00000970| 61 79 57 69 64 74 68 2e | 77 3d 2a 73 72 65 71 5c |ayWidth.|w=*sreq\|
|00000980| 44 57 69 64 74 68 00 20 | 20 50 72 65 66 44 69 73 |DWidth. | PrefDis|
|00000990| 70 6c 61 79 48 65 69 67 | 68 74 2e 77 3d 2a 73 72 |playHeig|ht.w=*sr|
|000009a0| 65 71 5c 44 48 65 69 67 | 68 74 00 80 c0 00 80 0b |eq\DHeig|ht......|
|000009b0| 20 28 2a 73 72 65 71 29 | 20 80 21 20 fb 85 28 2a | (*sreq)| .! ..(*|
|000009c0| 73 72 65 71 29 00 00 80 | 05 20 53 6b 69 70 53 4d |sreq)...|. SkipSM|
|000009d0| 52 00 00 3b 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |R..;****|********|
|000009e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000009f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000a00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000a10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 00 3b 20 |********|*****.; |
|00000a20| 54 68 69 73 20 69 73 20 | 74 68 65 20 73 74 61 74 |This is |the stat|
|00000a30| 65 6d 65 6e 74 20 74 68 | 61 74 20 74 68 65 20 68 |ement th|at the h|
|00000a40| 6f 6f 6b 20 77 69 6c 6c | 20 63 61 6c 6c 2e 20 20 |ook will| call. |
|00000a50| 50 75 74 20 74 68 65 20 | 6c 61 62 65 6c 20 62 65 |Put the |label be|
|00000a60| 66 6f 72 65 00 3b 20 74 | 68 65 20 73 74 61 74 65 |fore.; t|he state|
|00000a70| 6d 65 6e 74 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |ment you| want to|
|00000a80| 20 6a 75 6d 70 20 74 6f | 2e 00 80 d3 00 68 6f 6f | jump to|.....hoo|
|00000a90| 6b 5f 6a 75 6d 70 3a 00 | 80 08 20 68 6f 6f 6b 7b |k_jump:.|.. hook{|
|00000aa0| 2a 64 61 68 6f 6f 6b 2e | 48 6f 6f 6b 2c 20 6d 6f |*dahook.|Hook, mo|
|00000ab0| 64 65 49 44 2e 6c 2c 20 | 2a 73 6d 72 2e 53 63 72 |deID.l, |*smr.Scr|
|00000ac0| 65 65 6e 4d 6f 64 65 52 | 65 71 75 65 73 74 65 72 |eenModeR|equester|
|00000ad0| 7d 00 20 20 3b 20 57 65 | 27 72 65 20 69 6e 73 69 |}. ; We|'re insi|
|00000ae0| 64 65 20 74 68 65 20 68 | 6f 6f 6b 2c 20 61 6e 64 |de the h|ook, and|
|00000af0| 20 73 75 70 70 6f 73 65 | 64 6c 79 20 77 65 20 73 | suppose|dly we s|
|00000b00| 68 6f 75 6c 64 20 62 65 | 20 61 62 6c 65 20 74 6f |hould be| able to|
|00000b10| 20 64 6f 20 77 68 61 74 | 65 76 65 72 00 20 20 3b | do what|ever. ;|
|00000b20| 20 77 65 20 77 61 6e 74 | 2e 00 20 20 3b 20 46 69 | we want|.. ; Fi|
|00000b30| 6c 74 65 72 20 6d 6f 64 | 65 49 44 27 73 20 68 65 |lter mod|eID's he|
|00000b40| 72 65 00 20 20 80 15 20 | 66 75 6e 63 72 65 74 2e |re. .. |funcret.|
|00000b50| 6c 00 20 20 80 33 2e 44 | 69 73 70 6c 61 79 49 6e |l. .3.D|isplayIn|
|00000b60| 66 6f 20 44 69 73 49 6e | 66 6f 42 75 66 00 20 20 |fo DisIn|foBuf. |
|00000b70| 80 33 2e 44 69 6d 65 6e | 73 69 6f 6e 49 6e 66 6f |.3.Dimen|sionInfo|
|00000b80| 20 44 69 6d 49 6e 66 6f | 42 75 66 00 20 20 80 33 | DimInfo|Buf. .3|
|00000b90| 2e 4d 6f 6e 69 74 6f 72 | 49 6e 66 6f 20 4d 6f 6e |.Monitor|Info Mon|
|00000ba0| 49 6e 66 6f 42 75 66 00 | 20 20 80 33 2e 4e 61 6d |InfoBuf.| .3.Nam|
|00000bb0| 65 49 6e 66 6f 20 4e 61 | 6d 49 6e 66 6f 42 75 66 |eInfo Na|mInfoBuf|
|00000bc0| 00 20 20 3b 52 65 66 65 | 72 20 74 6f 20 49 6e 63 |. ;Refe|r to Inc|
|00000bd0| 6c 75 64 65 73 2f 47 72 | 61 70 68 69 63 73 2f 44 |ludes/Gr|aphics/D|
|00000be0| 69 73 70 6c 61 79 49 6e | 66 6f 2e 68 20 6f 72 20 |isplayIn|fo.h or |
|00000bf0| 76 69 65 77 20 6e 65 77 | 74 79 70 65 73 00 20 20 |view new|types. |
|00000c00| 49 44 68 61 6e 64 6c 65 | 2e 6c 3d ff 73 28 6d 6f |IDhandle|.l=.s(mo|
|00000c10| 64 65 49 44 29 00 20 20 | ff 75 20 49 44 68 61 6e |deID). |.u IDhan|
|00000c20| 64 6c 65 2c 26 44 69 73 | 49 6e 66 6f 42 75 66 2c |dle,&Dis|InfoBuf,|
|00000c30| 80 2f 2e 44 69 73 70 6c | 61 79 49 6e 66 6f 2c 23 |./.Displ|ayInfo,#|
|00000c40| 44 54 41 47 5f 44 49 53 | 50 2c 30 00 20 20 ff 75 |DTAG_DIS|P,0. .u|
|00000c50| 20 49 44 68 61 6e 64 6c | 65 2c 26 44 69 6d 49 6e | IDhandl|e,&DimIn|
|00000c60| 66 6f 42 75 66 2c 80 2f | 2e 44 69 6d 65 6e 73 69 |foBuf,./|.Dimensi|
|00000c70| 6f 6e 49 6e 66 6f 2c 23 | 44 54 41 47 5f 44 49 4d |onInfo,#|DTAG_DIM|
|00000c80| 53 2c 30 00 20 20 ff 75 | 20 49 44 68 61 6e 64 6c |S,0. .u| IDhandl|
|00000c90| 65 2c 26 4d 6f 6e 49 6e | 66 6f 42 75 66 2c 80 2f |e,&MonIn|foBuf,./|
|00000ca0| 2e 4d 6f 6e 69 74 6f 72 | 49 6e 66 6f 2c 23 44 54 |.Monitor|Info,#DT|
|00000cb0| 41 47 5f 4d 4e 54 52 2c | 30 00 20 20 ff 75 20 49 |AG_MNTR,|0. .u I|
|00000cc0| 44 68 61 6e 64 6c 65 2c | 26 4e 61 6d 49 6e 66 6f |Dhandle,|&NamInfo|
|00000cd0| 42 75 66 2c 80 2f 2e 4e | 61 6d 65 49 6e 66 6f 2c |Buf,./.N|ameInfo,|
|00000ce0| 23 44 54 41 47 5f 4e 41 | 4d 45 2c 30 00 20 20 3b |#DTAG_NA|ME,0. ;|
|00000cf0| 44 6f 20 74 65 73 74 73 | 2e 20 54 72 75 65 3d 4d |Do tests|. True=M|
|00000d00| 6f 64 65 20 69 73 20 76 | 61 6c 69 64 2c 20 46 61 |ode is v|alid, Fa|
|00000d10| 6c 73 65 3d 6d 6f 64 65 | 20 69 73 20 69 6e 76 61 |lse=mode| is inva|
|00000d20| 6c 69 64 2e 00 20 20 3b | 53 65 65 20 6e 65 77 74 |lid.. ;|See newt|
|00000d30| 79 70 65 73 20 66 6f 72 | 20 44 69 73 70 6c 61 79 |ypes for| Display|
|00000d40| 49 6e 66 6f 2c 44 69 6d | 65 6e 73 69 6f 6e 49 6e |Info,Dim|ensionIn|
|00000d50| 66 6f 2c 4d 6f 6e 69 74 | 6f 72 49 6e 66 6f 20 61 |fo,Monit|orInfo a|
|00000d60| 6e 64 20 4e 61 6d 65 49 | 6e 66 6f 20 66 6f 72 20 |nd NameI|nfo for |
|00000d70| 74 68 69 6e 67 73 20 74 | 6f 20 66 75 72 74 68 65 |things t|o furthe|
|00000d80| 72 20 74 65 73 74 00 20 | 20 80 0b 20 44 69 6d 49 |r test. | .. DimI|
|00000d90| 6e 66 6f 42 75 66 5c 4d | 61 78 44 65 70 74 68 3c |nfoBuf\M|axDepth<|
|00000da0| 3e 38 00 20 20 20 20 3b | 4e 6f 20 74 72 75 65 2d |>8. ;|No true-|
|00000db0| 63 6f 6c 6f 75 72 20 6d | 6f 64 65 73 2c 20 6f 6e |colour m|odes, on|
|00000dc0| 6c 79 20 38 2d 62 69 74 | 00 20 20 20 20 66 75 6e |ly 8-bit|. fun|
|00000dd0| 63 72 65 74 3d bc 0f 00 | 20 20 80 22 00 20 20 20 |cret=...| .". |
|00000de0| 20 66 75 6e 63 72 65 74 | 3d bc 0e 00 20 20 80 c0 | funcret|=... ..|
|00000df0| 00 80 02 20 80 08 00 00 | 3b 2a 2a 2a 2a 2a 2a 2a |... ....|;*******|
|00000e00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 00 |********|*******.|
|00000e10| 3b 20 48 6f 6f 6b 00 80 | 0d 20 67 6f 74 6f 5f 68 |; Hook..|. goto_h|
|00000e20| 6f 6f 6b 00 20 20 80 79 | 20 60 31 2b 36 00 80 02 |ook. .y| `1+6...|
|00000e30| 20 80 0d 00 00 67 6c 6f | 62 61 6c 62 61 73 65 3a | ....glo|balbase:|
|00000e40| 20 80 25 2e 6c 20 30 00 | 00 68 6f 6f 6b 3a 20 3b | .%.l 0.|.hook: ;|
|00000e50| 54 68 69 73 20 68 6f 6f | 6b 20 69 73 20 63 61 6c |This hoo|k is cal|
|00000e60| 6c 65 64 20 62 79 20 74 | 68 65 20 66 69 6c 74 65 |led by t|he filte|
|00000e70| 72 20 68 6f 6f 6b 20 63 | 61 6c 6c 62 61 63 6b 20 |r hook c|allback |
|00000e80| 66 72 6f 6d 20 73 63 72 | 65 65 6e 6d 6f 64 65 20 |from scr|eenmode |
|00000e90| 72 65 71 75 65 73 74 65 | 72 2c 20 70 65 72 20 69 |requeste|r, per i|
|00000ea0| 74 65 6d 00 3b 20 53 74 | 6f 72 65 20 72 65 67 69 |tem.; St|ore regi|
|00000eb0| 73 74 65 72 73 00 80 82 | 2e 6c 20 20 20 64 31 2d |sters...|.l d1-|
|00000ec0| 64 37 2f 61 30 2d 61 36 | 2c 2d 28 61 37 29 20 3b |d7/a0-a6|,-(a7) ;|
|00000ed0| 20 4e 6f 74 20 64 30 21 | 00 00 3b 20 50 75 74 20 | Not d0!|..; Put |
|00000ee0| 70 61 72 61 6d 65 74 65 | 72 73 20 69 6e 74 6f 20 |paramete|rs into |
|00000ef0| 64 72 65 67 73 20 72 65 | 61 64 79 20 66 6f 72 20 |dregs re|ady for |
|00000f00| 61 20 73 74 61 74 65 6d | 65 6e 74 00 80 7e 2e 6c |a statem|ent..~.l|
|00000f10| 20 20 20 20 61 30 2c 64 | 30 00 80 7e 2e 6c 20 20 | a0,d|0..~.l |
|00000f20| 20 20 61 31 2c 64 31 00 | 80 7e 2e 6c 20 20 20 20 | a1,d1.|.~.l |
|00000f30| 61 32 2c 64 32 00 00 3b | 20 47 65 74 20 67 6c 6f |a2,d2..;| Get glo|
|00000f40| 62 61 6c 20 76 61 72 69 | 61 62 6c 65 20 62 61 73 |bal vari|able bas|
|00000f50| 65 00 80 7e 2e 6c 20 20 | 20 20 67 6c 6f 62 61 6c |e..~.l | global|
|00000f60| 62 61 73 65 2c 61 35 00 | 00 3b 20 47 6f 74 6f 20 |base,a5.|.; Goto |
|00000f70| 68 6f 6f 6b 20 73 74 61 | 74 65 6d 65 6e 74 00 21 |hook sta|tement.!|
|00000f80| 67 6f 74 6f 5f 68 6f 6f | 6b 7b 68 6f 6f 6b 5f 6a |goto_hoo|k{hook_j|
|00000f90| 75 6d 70 7d 00 00 80 29 | 20 64 30 2c 66 75 6e 63 |ump}...)| d0,func|
|00000fa0| 72 65 74 20 3b 20 72 65 | 74 75 72 6e 20 61 63 63 |ret ; re|turn acc|
|00000fb0| 65 70 74 2f 64 69 73 63 | 61 72 64 00 00 3b 20 52 |ept/disc|ard..; R|
|00000fc0| 65 73 74 6f 72 65 20 72 | 65 67 69 73 74 65 72 73 |estore r|egisters|
|00000fd0| 00 80 82 2e 6c 20 20 20 | 28 61 37 29 2b 2c 64 31 |....l |(a7)+,d1|
|00000fe0| 2d 64 37 2f 61 30 2d 61 | 36 20 3b 20 4e 6f 74 20 |-d7/a0-a|6 ; Not |
|00000ff0| 64 30 21 00 00 80 94 00 | 3b 2a 2a 2a 2a 2a 2a 2a |d0!.....|;*******|
|00001000| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 00 |********|*******.|
|00001010| 00 80 d2 00 2e 53 6b 69 | 70 53 4d 52 00 00 80 09 |.....Ski|pSMR....|
|00001020| 2e 62 20 43 68 65 63 6b | 4c 69 62 7b 4c 69 62 24 |.b Check|Lib{Lib$|
|00001030| 2c 4c 69 62 56 65 72 7d | 00 3b 52 65 74 75 72 6e |,LibVer}|.;Return|
|00001040| 73 20 77 65 74 68 65 72 | 20 61 20 73 70 65 63 69 |s wether| a speci|
|00001050| 66 69 63 20 6c 69 62 72 | 61 72 79 20 69 73 20 61 |fic libr|ary is a|
|00001060| 76 61 69 6c 61 62 6c 65 | 20 6f 72 20 6e 6f 74 00 |vailable| or not.|
|00001070| 20 20 2a 6c 69 62 2e 6c | 3d fe cf 28 26 4c 69 62 | *lib.l|=..(&Lib|
|00001080| 24 2c 4c 69 62 56 65 72 | 29 00 20 20 80 0b 20 2a |$,LibVer|). .. *|
|00001090| 6c 69 62 00 20 20 20 20 | fe bb 20 2a 6c 69 62 00 |lib. |.. *lib.|
|000010a0| 20 20 20 20 80 09 20 80 | 07 20 bc 0e 00 20 20 80 | .. .|. ... .|
|000010b0| 22 00 20 20 20 20 80 09 | 20 80 07 20 bc 0f 00 20 |". ..| .. ... |
|000010c0| 20 80 c0 00 80 02 20 80 | 09 00 00 80 09 2e 62 20 | ..... .|......b |
|000010d0| 49 6e 69 74 44 69 73 70 | 6c 61 79 7b 54 69 74 6c |InitDisp|lay{Titl|
|000010e0| 65 24 7d 00 3b 43 72 65 | 61 74 65 73 20 61 20 64 |e$}.;Cre|ates a d|
|000010f0| 69 73 70 6c 61 79 20 66 | 6f 72 20 41 47 41 20 6f |isplay f|or AGA o|
|00001100| 72 20 47 72 61 70 68 69 | 63 73 2d 43 61 72 64 20 |r Graphi|cs-Card |
|00001110| 6f 75 74 70 75 74 00 3b | 54 69 74 6c 65 24 3d 54 |output.;|Title$=T|
|00001120| 68 65 20 73 63 72 65 65 | 6e 20 74 69 74 6c 65 20 |he scree|n title |
|00001130| 28 6e 6f 74 20 64 69 73 | 70 6c 61 79 65 64 29 00 |(not dis|played).|
|00001140| 20 20 80 15 20 50 72 65 | 66 44 69 73 70 6c 61 79 | .. Pre|fDisplay|
|00001150| 57 69 64 74 68 2c 50 72 | 65 66 44 69 73 70 6c 61 |Width,Pr|efDispla|
|00001160| 79 48 65 69 67 68 74 2c | 50 72 65 66 44 69 73 70 |yHeight,|PrefDisp|
|00001170| 6c 61 79 42 75 66 66 65 | 72 69 6e 67 00 20 20 80 |layBuffe|ring. .|
|00001180| 15 20 2a 53 63 72 56 50 | 2c 50 72 65 66 44 69 73 |. *ScrVP|,PrefDis|
|00001190| 70 6c 61 79 49 44 2c 49 | 73 41 47 41 2c 50 6c 61 |playID,I|sAGA,Pla|
|000011a0| 6e 61 72 42 75 66 28 29 | 2c 43 47 46 58 41 76 61 |narBuf()|,CGFXAva|
|000011b0| 69 6c 00 00 20 20 3b 53 | 65 74 75 70 20 61 20 74 |il.. ;S|etup a t|
|000011c0| 65 73 74 20 73 63 72 65 | 65 6e 00 20 20 80 04 20 |est scre|en. .. |
|000011d0| 53 63 72 54 61 67 73 2e | 54 61 67 49 74 65 6d 28 |ScrTags.|TagItem(|
|000011e0| 31 33 29 00 20 20 52 65 | 63 74 2e 52 65 63 74 61 |13). Re|ct.Recta|
|000011f0| 6e 67 6c 65 5c 4d 69 6e | 58 3d 30 2c 30 2c 33 32 |ngle\Min|X=0,0,32|
|00001200| 30 2c 32 34 30 20 3b 20 | 46 6f 72 20 74 65 73 74 |0,240 ; |For test|
|00001210| 00 20 20 53 63 72 54 61 | 67 73 28 30 29 5c 74 69 |. ScrTa|gs(0)\ti|
|00001220| 5f 54 61 67 3d 23 53 41 | 5f 57 69 64 74 68 2c 33 |_Tag=#SA|_Width,3|
|00001230| 32 30 20 3b 20 46 6f 72 | 20 74 65 73 74 00 20 20 |20 ; For| test. |
|00001240| 53 63 72 54 61 67 73 28 | 31 29 5c 74 69 5f 54 61 |ScrTags(|1)\ti_Ta|
|00001250| 67 3d 23 53 41 5f 48 65 | 69 67 68 74 2c 32 34 30 |g=#SA_He|ight,240|
|00001260| 3b 20 46 6f 72 20 74 65 | 73 74 00 20 20 53 63 72 |; For te|st. Scr|
|00001270| 54 61 67 73 28 32 29 5c | 74 69 5f 54 61 67 3d 23 |Tags(2)\|ti_Tag=#|
|00001280| 53 41 5f 44 65 70 74 68 | 2c 38 00 20 20 53 63 72 |SA_Depth|,8. Scr|
|00001290| 54 61 67 73 28 33 29 5c | 74 69 5f 54 61 67 3d 23 |Tags(3)\|ti_Tag=#|
|000012a0| 53 41 5f 44 69 73 70 6c | 61 79 49 44 2c 50 72 65 |SA_Displ|ayID,Pre|
|000012b0| 66 44 69 73 70 6c 61 79 | 49 44 00 20 20 53 63 72 |fDisplay|ID. Scr|
|000012c0| 54 61 67 73 28 34 29 5c | 74 69 5f 54 61 67 3d 23 |Tags(4)\|ti_Tag=#|
|000012d0| 53 41 5f 54 79 70 65 2c | 24 46 00 20 20 53 63 72 |SA_Type,|$F. Scr|
|000012e0| 54 61 67 73 28 35 29 5c | 74 69 5f 54 61 67 3d 23 |Tags(5)\|ti_Tag=#|
|000012f0| 53 41 5f 51 75 69 65 74 | 2c bc 0e 00 20 20 53 63 |SA_Quiet|,... Sc|
|00001300| 72 54 61 67 73 28 36 29 | 5c 74 69 5f 54 61 67 3d |rTags(6)|\ti_Tag=|
|00001310| 23 53 41 5f 53 68 6f 77 | 54 69 74 6c 65 2c bc 0f |#SA_Show|Title,..|
|00001320| 00 20 20 53 63 72 54 61 | 67 73 28 37 29 5c 74 69 |. ScrTa|gs(7)\ti|
|00001330| 5f 54 61 67 3d 23 53 41 | 5f 42 65 68 69 6e 64 2c |_Tag=#SA|_Behind,|
|00001340| bc 0e 00 20 20 53 63 72 | 54 61 67 73 28 38 29 5c |... Scr|Tags(8)\|
|00001350| 74 69 5f 54 61 67 3d 23 | 53 41 5f 44 43 6c 69 70 |ti_Tag=#|SA_DClip|
|00001360| 2c 26 52 65 63 74 20 3b | 20 46 6f 72 20 74 65 73 |,&Rect ;| For tes|
|00001370| 74 00 20 20 53 63 72 54 | 61 67 73 28 39 29 5c 74 |t. ScrT|ags(9)\t|
|00001380| 69 5f 54 61 67 3d 23 53 | 41 5f 45 78 63 6c 75 73 |i_Tag=#S|A_Exclus|
|00001390| 69 76 65 2c bc 0f 00 20 | 20 53 63 72 54 61 67 73 |ive,... | ScrTags|
|000013a0| 28 31 30 29 5c 74 69 5f | 54 61 67 3d 23 53 41 5f |(10)\ti_|Tag=#SA_|
|000013b0| 44 72 61 67 67 61 62 6c | 65 2c bc 0f 00 20 20 53 |Draggabl|e,... S|
|000013c0| 63 72 54 61 67 73 28 31 | 31 29 5c 74 69 5f 54 61 |crTags(1|1)\ti_Ta|
|000013d0| 67 3d 23 53 41 5f 41 75 | 74 6f 53 63 72 6f 6c 6c |g=#SA_Au|toScroll|
|000013e0| 2c bc 0f 00 20 20 53 63 | 72 54 61 67 73 28 31 32 |,... Sc|rTags(12|
|000013f0| 29 5c 74 69 5f 54 61 67 | 3d 23 54 41 47 5f 44 4f |)\ti_Tag|=#TAG_DO|
|00001400| 4e 45 2c 30 00 20 20 53 | 63 72 54 61 67 73 28 31 |NE,0. S|crTags(1|
|00001410| 33 29 5c 74 69 5f 54 61 | 67 3d 23 54 41 47 5f 44 |3)\ti_Ta|g=#TAG_D|
|00001420| 4f 4e 45 2c 30 00 00 20 | 20 80 0b 20 43 47 46 58 |ONE,0.. | .. CGFX|
|00001430| 41 76 61 69 6c 00 20 20 | 20 20 49 73 41 47 41 3d |Avail. | IsAGA=|
|00001440| 31 2d 28 8a 01 28 50 72 | 65 66 44 69 73 70 6c 61 |1-(..(Pr|efDispla|
|00001450| 79 49 44 29 29 00 20 20 | 80 22 00 20 20 20 20 3b |yID)). |.". ;|
|00001460| 20 4e 65 65 64 20 74 6f | 20 64 6f 20 61 20 74 65 | Need to| do a te|
|00001470| 73 74 00 20 20 20 20 55 | 73 65 64 43 68 69 70 2e |st. U|sedChip.|
|00001480| 6c 3d 33 32 30 2a 32 34 | 30 20 3b 20 57 69 74 68 |l=320*24|0 ; With|
|00001490| 20 74 65 73 74 20 70 61 | 72 61 6d 73 20 28 64 65 | test pa|rams (de|
|000014a0| 70 74 68 20 38 29 00 20 | 20 20 20 46 72 65 65 43 |pth 8). | FreeC|
|000014b0| 68 69 70 2e 6c 3d fe 9a | 28 23 4d 45 4d 46 5f 43 |hip.l=..|(#MEMF_C|
|000014c0| 48 49 50 29 00 20 20 20 | 20 fe 8c 00 20 20 20 20 |HIP). | ... |
|000014d0| 80 0b 20 cf 0f 28 30 2c | 54 69 74 6c 65 24 2c 26 |.. ..(0,|Title$,&|
|000014e0| 53 63 72 54 61 67 73 28 | 30 29 29 00 20 20 20 20 |ScrTags(|0)). |
|000014f0| 20 20 4e 6f 77 43 68 69 | 70 2e 6c 3d fe 9a 28 23 | NowChi|p.l=..(#|
|00001500| 4d 45 4d 46 5f 43 48 49 | 50 29 00 20 20 20 20 20 |MEMF_CHI|P). |
|00001510| 20 fe 8d 00 20 20 20 20 | 20 20 80 0b 20 46 72 65 | ... | .. Fre|
|00001520| 65 43 68 69 70 2d 4e 6f | 77 43 68 69 70 3c 55 73 |eChip-No|wChip<Us|
|00001530| 65 64 43 68 69 70 00 20 | 20 20 20 20 20 20 20 49 |edChip. | I|
|00001540| 73 41 47 41 3d bc 0f 00 | 20 20 20 20 20 20 80 22 |sAGA=...| ."|
|00001550| 00 20 20 20 20 20 20 20 | 20 49 73 41 47 41 3d bc |. | IsAGA=.|
|00001560| 0e 00 20 20 20 20 20 20 | 80 c0 00 20 20 20 20 20 |.. |... |
|00001570| 20 80 37 20 35 00 20 20 | 20 20 20 20 80 2b 20 cf | .7 5. | .+ .|
|00001580| 01 20 30 00 20 20 20 20 | 20 20 80 37 20 35 00 20 |. 0. | .7 5. |
|00001590| 20 20 20 80 22 00 20 20 | 20 20 20 20 3b 20 46 61 | .". | ; Fa|
|000015a0| 69 6c 65 64 20 74 6f 20 | 6f 70 65 6e 2c 20 73 6f |iled to |open, so|
|000015b0| 20 72 65 73 6f 72 74 20 | 74 6f 20 66 69 78 65 64 | resort |to fixed|
|000015c0| 20 41 47 41 20 4c 6f 77 | 52 65 73 00 20 20 20 20 | AGA Low|Res. |
|000015d0| 20 20 fe 8d 00 20 20 20 | 20 20 20 49 73 41 47 41 | ... | IsAGA|
|000015e0| 3d bc 0e 00 20 20 20 20 | 20 20 50 72 65 66 44 69 |=... | PrefDi|
|000015f0| 73 70 6c 61 79 49 44 3d | 30 00 20 20 20 20 20 20 |splayID=|0. |
|00001600| 50 72 65 66 44 69 73 70 | 6c 61 79 57 69 64 74 68 |PrefDisp|layWidth|
|00001610| 3d 33 32 30 00 20 20 20 | 20 20 20 50 72 65 66 44 |=320. | PrefD|
|00001620| 69 73 70 6c 61 79 48 65 | 69 67 68 74 3d 32 34 30 |isplayHe|ight=240|
|00001630| 00 20 20 20 20 80 c0 00 | 20 20 80 c0 00 00 20 20 |. ...| .... |
|00001640| 80 0b 20 49 73 41 47 41 | 00 20 20 20 20 50 72 65 |.. IsAGA|. Pre|
|00001650| 66 44 69 73 70 6c 61 79 | 57 69 64 74 68 20 80 42 |fDisplay|Width .B|
|00001660| 20 24 46 46 43 30 20 3b | 20 4d 75 6c 74 69 70 6c | $FFC0 ;| Multipl|
|00001670| 65 73 20 6f 66 20 36 34 | 20 66 6f 72 20 41 47 41 |es of 64| for AGA|
|00001680| 00 20 20 80 22 00 20 20 | 20 20 50 72 65 66 44 69 |. .". | PrefDi|
|00001690| 73 70 6c 61 79 57 69 64 | 74 68 20 80 42 20 24 46 |splayWid|th .B $F|
|000016a0| 46 46 30 20 3b 20 4d 75 | 6c 74 69 70 6c 65 73 20 |FF0 ; Mu|ltiples |
|000016b0| 6f 66 20 31 36 20 66 6f | 72 20 67 72 61 70 68 69 |of 16 fo|r graphi|
|000016c0| 63 73 20 63 61 72 64 00 | 20 20 80 c0 00 20 20 53 |cs card.| ... S|
|000016d0| 63 72 54 61 67 73 28 30 | 29 5c 74 69 5f 54 61 67 |crTags(0|)\ti_Tag|
|000016e0| 3d 23 53 41 5f 57 69 64 | 74 68 2c 50 72 65 66 44 |=#SA_Wid|th,PrefD|
|000016f0| 69 73 70 6c 61 79 57 69 | 64 74 68 00 20 20 52 65 |isplayWi|dth. Re|
|00001700| 63 74 2e 52 65 63 74 61 | 6e 67 6c 65 5c 4d 69 6e |ct.Recta|ngle\Min|
|00001710| 58 3d 30 2c 30 2c 50 72 | 65 66 44 69 73 70 6c 61 |X=0,0,Pr|efDispla|
|00001720| 79 57 69 64 74 68 2c 50 | 72 65 66 44 69 73 70 6c |yWidth,P|refDispl|
|00001730| 61 79 48 65 69 67 68 74 | 00 20 20 53 63 72 54 61 |ayHeight|. ScrTa|
|00001740| 67 73 28 38 29 5c 74 69 | 5f 54 61 67 3d 23 53 41 |gs(8)\ti|_Tag=#SA|
|00001750| 5f 44 43 6c 69 70 2c 26 | 52 65 63 74 00 00 20 20 |_DClip,&|Rect.. |
|00001760| 80 0b 20 49 73 41 47 41 | 00 20 20 20 20 3b 20 41 |.. IsAGA|. ; A|
|00001770| 47 41 20 64 69 73 70 6c | 61 79 00 20 20 20 20 53 |GA displ|ay. S|
|00001780| 63 72 54 61 67 73 28 31 | 29 5c 74 69 5f 54 61 67 |crTags(1|)\ti_Tag|
|00001790| 3d 23 53 41 5f 48 65 69 | 67 68 74 2c 50 72 65 66 |=#SA_Hei|ght,Pref|
|000017a0| 44 69 73 70 6c 61 79 48 | 65 69 67 68 74 20 3b 20 |DisplayH|eight ; |
|000017b0| 53 65 70 65 72 61 74 65 | 20 62 75 66 66 65 72 73 |Seperate| buffers|
|000017c0| 00 20 20 20 20 53 63 72 | 54 61 67 73 28 33 29 5c |. Scr|Tags(3)\|
|000017d0| 74 69 5f 54 61 67 3d 23 | 53 41 5f 44 69 73 70 6c |ti_Tag=#|SA_Displ|
|000017e0| 61 79 49 44 2c 50 72 65 | 66 44 69 73 70 6c 61 79 |ayID,Pre|fDisplay|
|000017f0| 49 44 00 20 20 20 20 fe | 8c 00 20 20 20 20 80 16 |ID. .|.. ..|
|00001800| 20 4c 6f 6f 70 2e 77 3d | 30 20 80 18 20 50 72 65 | Loop.w=|0 .. Pre|
|00001810| 66 44 69 73 70 6c 61 79 | 42 75 66 66 65 72 69 6e |fDisplay|Bufferin|
|00001820| 67 2d 31 00 20 20 20 20 | 20 20 80 0b 20 4c 6f 6f |g-1. | .. Loo|
|00001830| 70 3d 30 20 80 21 20 57 | 46 6c 61 67 73 2e 6c 3d |p=0 .! W|Flags.l=|
|00001840| 24 31 39 30 30 20 80 22 | 20 57 46 6c 61 67 73 2e |$1900 ."| WFlags.|
|00001850| 6c 3d 24 38 30 30 00 20 | 20 20 20 20 20 80 0b 20 |l=$800. | .. |
|00001860| fe 9a 28 23 4d 45 4d 46 | 5f 43 48 49 50 29 3e 3d |..(#MEMF|_CHIP)>=|
|00001870| 28 50 72 65 66 44 69 73 | 70 6c 61 79 57 69 64 74 |(PrefDis|playWidt|
|00001880| 68 2a 50 72 65 66 44 69 | 73 70 6c 61 79 48 65 69 |h*PrefDi|splayHei|
|00001890| 67 68 74 29 2b 31 36 00 | 20 20 20 20 20 20 20 20 |ght)+16.| |
|000018a0| 4d 65 6d 6f 72 79 2e 6c | 3d a6 08 28 28 50 72 65 |Memory.l|=..((Pre|
|000018b0| 66 44 69 73 70 6c 61 79 | 57 69 64 74 68 2a 50 72 |fDisplay|Width*Pr|
|000018c0| 65 66 44 69 73 70 6c 61 | 79 48 65 69 67 68 74 29 |efDispla|yHeight)|
|000018d0| 2b 31 36 2c 24 31 30 30 | 30 32 29 20 3b 20 43 68 |+16,$100|02) ; Ch|
|000018e0| 69 70 72 61 6d 20 62 69 | 74 6d 61 70 00 20 20 20 |ipram bi|tmap. |
|000018f0| 20 20 20 20 20 4d 65 6d | 6f 72 79 3d 28 4d 65 6d | Mem|ory=(Mem|
|00001900| 6f 72 79 2b 31 36 29 20 | 80 42 20 24 46 46 46 46 |ory+16) |.B $FFFF|
|00001910| 46 46 46 30 20 3b 20 41 | 6c 69 67 6e 20 66 6f 72 |FFF0 ; A|lign for|
|00001920| 20 6d 6f 76 65 31 36 27 | 73 00 20 20 20 20 20 20 | move16'|s. |
|00001930| 20 20 80 0b 20 4d 65 6d | 6f 72 79 00 20 20 20 20 | .. Mem|ory. |
|00001940| 20 20 20 20 20 20 d0 07 | 20 4c 6f 6f 70 2c 50 72 | ..| Loop,Pr|
|00001950| 65 66 44 69 73 70 6c 61 | 79 57 69 64 74 68 2c 50 |efDispla|yWidth,P|
|00001960| 72 65 66 44 69 73 70 6c | 61 79 48 65 69 67 68 74 |refDispl|ayHeight|
|00001970| 2c 38 2c 4d 65 6d 6f 72 | 79 20 3b 20 44 65 70 74 |,8,Memor|y ; Dept|
|00001980| 68 20 38 00 20 20 20 20 | 20 20 20 20 20 20 80 0b |h 8. | ..|
|00001990| 20 4c 6f 6f 70 3d 30 00 | 20 20 20 20 20 20 20 20 | Loop=0.| |
|000019a0| 20 20 20 20 53 63 72 54 | 61 67 73 28 31 32 29 5c | ScrT|ags(12)\|
|000019b0| 74 69 5f 54 61 67 3d 23 | 53 41 5f 42 69 74 4d 61 |ti_Tag=#|SA_BitMa|
|000019c0| 70 2c 80 b8 20 d0 01 28 | 30 29 00 20 20 20 20 20 |p,.. ..(|0). |
|000019d0| 20 20 20 20 20 20 20 80 | 0b 20 cf 0f 28 30 2c 54 | .|. ..(0,T|
|000019e0| 69 74 6c 65 24 2c 26 53 | 63 72 54 61 67 73 28 30 |itle$,&S|crTags(0|
|000019f0| 29 29 3d 30 00 20 20 20 | 20 20 20 20 20 20 20 20 |))=0. | |
|00001a00| 20 20 20 fe 8d 00 20 20 | 20 20 20 20 20 20 20 20 | ... | |
|00001a10| 20 20 20 20 80 09 20 80 | 07 20 bc 0f 00 20 20 20 | .. .|. ... |
|00001a20| 20 20 20 20 20 20 20 20 | 20 80 c0 00 20 20 20 20 | | ... |
|00001a30| 20 20 20 20 20 20 80 c0 | 00 80 0b 20 c5 01 28 4c | ..|... ..(L|
|00001a40| 6f 6f 70 2c 30 2c 30 2c | 50 72 65 66 44 69 73 70 |oop,0,0,|PrefDisp|
|00001a50| 6c 61 79 57 69 64 74 68 | 2c 50 72 65 66 44 69 73 |layWidth|,PrefDis|
|00001a60| 70 6c 61 79 48 65 69 67 | 68 74 2c 57 46 6c 61 67 |playHeig|ht,WFlag|
|00001a70| 73 2c 22 22 2c 30 2c 30 | 29 3d 30 20 80 21 20 80 |s,"",0,0|)=0 .! .|
|00001a80| 09 20 80 07 20 bc 0f 00 | 20 20 20 20 20 20 20 20 |. .. ...| |
|00001a90| 20 20 c5 23 20 80 c6 00 | 20 20 20 20 20 20 20 20 | .# ...| |
|00001aa0| 80 22 00 20 20 20 20 20 | 20 20 20 20 20 fe 8d 00 |.". | ...|
|00001ab0| 20 20 20 20 20 20 20 20 | 20 20 80 09 20 80 07 20 | | .. .. |
|00001ac0| bc 0f 00 20 20 20 20 20 | 20 20 20 80 c0 00 20 20 |... | ... |
|00001ad0| 20 20 20 20 80 22 00 20 | 20 20 20 20 20 20 20 fe | .". | .|
|00001ae0| 8d 00 20 20 20 20 20 20 | 20 20 80 09 20 80 07 20 |.. | .. .. |
|00001af0| bc 0f 00 20 20 20 20 20 | 20 80 c0 00 20 20 20 20 |... | ... |
|00001b00| 20 20 50 6c 61 6e 61 72 | 42 75 66 28 4c 6f 6f 70 | Planar|Buf(Loop|
|00001b10| 29 3d 4d 65 6d 6f 72 79 | 00 20 20 20 20 80 17 20 |)=Memory|. .. |
|00001b20| 4c 6f 6f 70 00 20 20 20 | 20 fe 8d 00 20 20 80 22 |Loop. | ... ."|
|00001b30| 00 20 20 20 20 3b 20 47 | 72 61 70 68 69 63 73 2d |. ; G|raphics-|
|00001b40| 63 61 72 64 20 64 69 73 | 70 6c 61 79 00 20 20 20 |card dis|play. |
|00001b50| 20 53 63 72 54 61 67 73 | 28 31 29 5c 74 69 5f 54 | ScrTags|(1)\ti_T|
|00001b60| 61 67 3d 23 53 41 5f 48 | 65 69 67 68 74 2c 50 72 |ag=#SA_H|eight,Pr|
|00001b70| 65 66 44 69 73 70 6c 61 | 79 48 65 69 67 68 74 2a |efDispla|yHeight*|
|00001b80| 50 72 65 66 44 69 73 70 | 6c 61 79 42 75 66 66 65 |PrefDisp|layBuffe|
|00001b90| 72 69 6e 67 00 20 20 20 | 20 80 0b 20 cf 0f 28 30 |ring. | .. ..(0|
|00001ba0| 2c 54 69 74 6c 65 24 2c | 26 53 63 72 54 61 67 73 |,Title$,|&ScrTags|
|00001bb0| 28 30 29 29 00 20 20 20 | 20 20 20 80 16 20 4c 6f |(0)). | .. Lo|
|00001bc0| 6f 70 2e 77 3d 30 20 80 | 18 20 50 72 65 66 44 69 |op.w=0 .|. PrefDi|
|00001bd0| 73 70 6c 61 79 42 75 66 | 66 65 72 69 6e 67 2d 31 |splayBuf|fering-1|
|00001be0| 00 20 20 20 20 20 20 20 | 20 80 0b 20 4c 6f 6f 70 |. | .. Loop|
|00001bf0| 3d 30 20 80 21 20 57 46 | 6c 61 67 73 2e 6c 3d 24 |=0 .! WF|lags.l=$|
|00001c00| 31 39 30 30 20 80 22 20 | 57 46 6c 61 67 73 2e 6c |1900 ." |WFlags.l|
|00001c10| 3d 24 38 30 30 00 80 0b | 20 c5 01 28 4c 6f 6f 70 |=$800...| ..(Loop|
|00001c20| 2c 30 2c 50 72 65 66 44 | 69 73 70 6c 61 79 48 65 |,0,PrefD|isplayHe|
|00001c30| 69 67 68 74 2a 4c 6f 6f | 70 2c 50 72 65 66 44 69 |ight*Loo|p,PrefDi|
|00001c40| 73 70 6c 61 79 57 69 64 | 74 68 2c 50 72 65 66 44 |splayWid|th,PrefD|
|00001c50| 69 73 70 6c 61 79 48 65 | 69 67 68 74 2c 57 46 6c |isplayHe|ight,WFl|
|00001c60| 61 67 73 2c 22 22 2c 30 | 2c 30 29 3d 30 20 80 21 |ags,"",0|,0)=0 .!|
|00001c70| 20 80 09 20 80 07 20 bc | 0f 00 20 20 20 20 20 20 | .. .. .|.. |
|00001c80| 20 20 c5 23 20 80 c6 00 | 20 20 20 20 20 20 20 20 | .# ...| |
|00001c90| d0 03 20 30 2c 4c 6f 6f | 70 00 20 20 20 20 20 20 |.. 0,Loo|p. |
|00001ca0| 20 20 2a 54 6d 70 42 6d | 70 2e 62 69 74 6d 61 70 | *TmpBm|p.bitmap|
|00001cb0| 3d 80 b8 20 d0 01 28 4c | 6f 6f 70 29 00 20 20 20 |=.. ..(L|oop). |
|00001cc0| 20 20 20 20 20 4f 66 66 | 73 65 74 2e 6c 3d 2a 54 | Off|set.l=*T|
|00001cd0| 6d 70 42 6d 70 5c 5f 65 | 62 77 69 64 74 68 2a 28 |mpBmp\_e|bwidth*(|
|00001ce0| 50 72 65 66 44 69 73 70 | 6c 61 79 48 65 69 67 68 |PrefDisp|layHeigh|
|00001cf0| 74 2a 4c 6f 6f 70 29 00 | 20 20 20 20 20 20 20 20 |t*Loop).| |
|00001d00| 80 16 20 44 4c 6f 6f 70 | 2e 77 3d 30 20 80 18 20 |.. DLoop|.w=0 .. |
|00001d10| 38 2d 31 20 3b 20 44 65 | 70 74 68 20 6f 66 20 38 |8-1 ; De|pth of 8|
|00001d20| 00 20 20 20 20 20 20 20 | 20 20 20 2a 54 6d 70 42 |. | *TmpB|
|00001d30| 6d 70 5c 5f 64 61 74 61 | 5b 44 4c 6f 6f 70 5d 3d |mp\_data|[DLoop]=|
|00001d40| 2a 54 6d 70 42 6d 70 5c | 5f 64 61 74 61 5b 44 4c |*TmpBmp\|_data[DL|
|00001d50| 6f 6f 70 5d 2b 4f 66 66 | 73 65 74 00 20 20 20 20 |oop]+Off|set. |
|00001d60| 20 20 20 20 80 17 20 44 | 4c 6f 6f 70 00 20 20 20 | .. D|Loop. |
|00001d70| 20 20 20 80 17 20 4c 6f | 6f 70 00 20 20 20 20 80 | .. Lo|op. .|
|00001d80| 22 00 20 20 20 20 20 20 | 80 09 20 80 07 20 bc 0f |". |.. .. ..|
|00001d90| 00 20 20 20 20 80 c0 00 | 20 20 80 c0 00 00 20 20 |. ...| .... |
|00001da0| 80 0b 20 da 02 2e 6c 28 | 80 b8 20 cf 01 28 30 29 |.. ...l(|.. ..(0)|
|00001db0| 29 00 20 20 20 20 80 33 | 2e 44 69 6d 65 6e 73 69 |). .3|.Dimensi|
|00001dc0| 6f 6e 49 6e 66 6f 20 44 | 69 6d 49 6e 66 6f 42 75 |onInfo D|imInfoBu|
|00001dd0| 66 00 20 20 20 20 ff 75 | 20 ff 73 28 50 72 65 66 |f. .u| .s(Pref|
|00001de0| 44 69 73 70 6c 61 79 49 | 44 29 20 80 42 20 24 46 |DisplayI|D) .B $F|
|00001df0| 46 46 46 46 46 46 46 2c | 26 44 69 6d 49 6e 66 6f |FFFFFFF,|&DimInfo|
|00001e00| 42 75 66 2c 80 2f 2e 44 | 69 6d 65 6e 73 69 6f 6e |Buf,./.D|imension|
|00001e10| 49 6e 66 6f 2c 23 44 54 | 41 47 5f 44 49 4d 53 2c |Info,#DT|AG_DIMS,|
|00001e20| 30 00 20 20 20 20 50 72 | 65 66 44 69 73 70 6c 61 |0. Pr|efDispla|
|00001e30| 79 4c 65 66 74 2e 77 3d | 28 28 44 69 6d 49 6e 66 |yLeft.w=|((DimInf|
|00001e40| 6f 42 75 66 5c 54 78 74 | 4f 53 63 61 6e 5c 4d 61 |oBuf\Txt|OScan\Ma|
|00001e50| 78 58 29 2d 50 72 65 66 | 44 69 73 70 6c 61 79 57 |xX)-Pref|DisplayW|
|00001e60| 69 64 74 68 29 2f 32 00 | 20 20 20 20 50 72 65 66 |idth)/2.| Pref|
|00001e70| 44 69 73 70 6c 61 79 54 | 6f 70 2e 77 3d 28 28 44 |DisplayT|op.w=((D|
|00001e80| 69 6d 49 6e 66 6f 42 75 | 66 5c 54 78 74 4f 53 63 |imInfoBu|f\TxtOSc|
|00001e90| 61 6e 5c 4d 61 78 59 29 | 2d 50 72 65 66 44 69 73 |an\MaxY)|-PrefDis|
|00001ea0| 70 6c 61 79 48 65 69 67 | 68 74 29 2f 32 00 20 20 |playHeig|ht)/2. |
|00001eb0| 20 20 2a 53 63 72 2e 5f | 53 63 72 65 65 6e 3d da | *Scr._|Screen=.|
|00001ec0| 02 2e 6c 28 80 b8 20 cf | 01 28 30 29 29 00 20 20 |..l(.. .|.(0)). |
|00001ed0| 20 20 2a 53 63 72 56 50 | 3d cf 09 28 30 29 00 20 | *ScrVP|=..(0). |
|00001ee0| 20 20 20 2a 53 63 72 56 | 50 5c 44 78 4f 66 66 73 | *ScrV|P\DxOffs|
|00001ef0| 65 74 3d 50 72 65 66 44 | 69 73 70 6c 61 79 4c 65 |et=PrefD|isplayLe|
|00001f00| 66 74 2c 50 72 65 66 44 | 69 73 70 6c 61 79 54 6f |ft,PrefD|isplayTo|
|00001f10| 70 00 20 20 20 20 ff 5e | 20 2a 53 63 72 56 50 00 |p. .^| *ScrVP.|
|00001f20| 20 20 20 20 ff bd 00 20 | 20 20 20 c5 23 20 80 c6 | ... | .# ..|
|00001f30| 00 20 20 20 20 80 0b 20 | 2a 53 63 72 56 50 5c 44 |. .. |*ScrVP\D|
|00001f40| 48 65 69 67 68 74 3c 3e | 50 72 65 66 44 69 73 70 |Height<>|PrefDisp|
|00001f50| 6c 61 79 48 65 69 67 68 | 74 00 20 20 20 20 20 20 |layHeigh|t. |
|00001f60| fe 8c 00 20 20 20 20 20 | 20 2a 53 63 72 5c 48 65 |... | *Scr\He|
|00001f70| 69 67 68 74 3d 50 72 65 | 66 44 69 73 70 6c 61 79 |ight=Pre|fDisplay|
|00001f80| 48 65 69 67 68 74 20 3b | 20 45 6e 66 6f 72 63 65 |Height ;| Enforce|
|00001f90| 20 79 20 63 6c 69 70 70 | 69 6e 67 00 20 20 20 20 | y clipp|ing. |
|00001fa0| 20 20 fe 8d 00 20 20 20 | 20 80 c0 00 20 20 20 20 | ... | ... |
|00001fb0| ff a6 20 2a 53 63 72 00 | 20 20 20 20 80 09 20 80 |.. *Scr.| .. .|
|00001fc0| 07 20 bc 0e 00 20 20 80 | 22 00 20 20 20 20 80 09 |. ... .|". ..|
|00001fd0| 20 80 07 20 bc 0f 00 20 | 20 80 c0 00 80 02 20 80 | .. ... | ..... .|
|00001fe0| 09 00 00 2e 4d 61 69 6e | 00 43 47 46 58 41 76 61 |....Main|.CGFXAva|
|00001ff0| 69 6c 2e 62 3d 43 68 65 | 63 6b 4c 69 62 7b 22 63 |il.b=Che|ckLib{"c|
|00002000| 79 62 65 72 67 72 61 70 | 68 69 63 73 2e 6c 69 62 |ybergrap|hics.lib|
|00002010| 72 61 72 79 22 2c 30 7d | 00 80 0b 20 43 47 46 58 |rary",0}|... CGFX|
|00002020| 41 76 61 69 6c 3d bc 0f | 20 80 42 20 50 72 65 66 |Avail=..| .B Pref|
|00002030| 44 69 73 70 6c 61 79 4d | 65 74 68 6f 64 3d 32 20 |DisplayM|ethod=2 |
|00002040| 80 21 20 50 72 65 66 44 | 69 73 70 6c 61 79 4d 65 |.! PrefD|isplayMe|
|00002050| 74 68 6f 64 3d 30 00 ce | 17 20 30 2c 32 35 36 00 |thod=0..|. 0,256.|
|00002060| 80 0b 20 49 6e 69 74 44 | 69 73 70 6c 61 79 7b 22 |.. InitD|isplay{"|
|00002070| 47 61 6d 65 22 7d 3d bc | 0f 20 80 21 20 80 05 20 |Game"}=.|. .! .. |
|00002080| 46 69 6e 69 73 68 00 80 | 0b 20 50 72 65 66 44 69 |Finish..|. PrefDi|
|00002090| 73 70 6c 61 79 4d 65 74 | 68 6f 64 3d 30 20 80 42 |splayMet|hod=0 .B|
|000020a0| 20 4f 53 56 65 72 73 69 | 6f 6e 3c 34 30 00 20 20 | OSVersi|on<40. |
|000020b0| 87 90 20 35 2c 50 72 65 | 66 44 69 73 70 6c 61 79 |.. 5,Pre|fDisplay|
|000020c0| 57 69 64 74 68 2c 50 72 | 65 66 44 69 73 70 6c 61 |Width,Pr|efDispla|
|000020d0| 79 48 65 69 67 68 74 20 | 3b 20 54 65 6d 70 6f 72 |yHeight |; Tempor|
|000020e0| 61 72 79 20 62 69 74 6d | 61 70 20 74 6f 20 61 6c |ary bitm|ap to al|
|000020f0| 6c 6f 77 20 57 50 41 38 | 20 69 6e 73 74 65 61 64 |low WPA8| instead|
|00002100| 20 6f 66 20 57 50 4c 38 | 27 73 00 80 c0 00 00 87 | of WPL8|'s......|
|00002110| 90 20 30 2c 50 72 65 66 | 44 69 73 70 6c 61 79 57 |. 0,Pref|DisplayW|
|00002120| 69 64 74 68 2c 50 72 65 | 66 44 69 73 70 6c 61 79 |idth,Pre|fDisplay|
|00002130| 48 65 69 67 68 74 00 87 | 90 20 31 2c 50 72 65 66 |Height..|. 1,Pref|
|00002140| 44 69 73 70 6c 61 79 57 | 69 64 74 68 2c 50 72 65 |DisplayW|idth,Pre|
|00002150| 66 44 69 73 70 6c 61 79 | 48 65 69 67 68 74 00 87 |fDisplay|Height..|
|00002160| a1 20 30 00 80 0b 20 49 | 73 41 47 41 20 80 21 20 |. 0... I|sAGA .! |
|00002170| 87 87 20 30 2c 50 72 65 | 66 44 69 73 70 6c 61 79 |.. 0,Pre|fDisplay|
|00002180| 57 69 64 74 68 2c 50 72 | 65 66 44 69 73 70 6c 61 |Width,Pr|efDispla|
|00002190| 79 48 65 69 67 68 74 00 | 00 a6 02 20 30 2c 33 32 |yHeight.|... 0,32|
|000021a0| 30 2a 32 34 30 2c 24 31 | 30 30 30 30 20 20 20 20 |0*240,$1|0000 |
|000021b0| 20 20 20 20 20 20 20 3b | 20 47 65 74 20 73 6f 6d | ;| Get som|
|000021c0| 65 20 66 72 65 65 20 43 | 48 49 50 20 6d 65 6d 6f |e free C|HIP memo|
|000021d0| 72 79 2e 00 d0 07 20 33 | 2c 33 32 30 2c 32 34 30 |ry.... 3|,320,240|
|000021e0| 2c 38 2c a6 01 28 30 29 | 20 20 20 20 3b 20 41 6e |,8,..(0)| ; An|
|000021f0| 64 20 6d 61 6b 65 20 69 | 74 20 61 20 70 6c 61 6e |d make i|t a plan|
|00002200| 61 72 20 62 69 74 6d 61 | 70 2e 00 d0 02 20 33 2c |ar bitma|p.... 3,|
|00002210| 22 52 6f 74 61 74 65 50 | 69 63 32 2e 49 46 46 22 |"RotateP|ic2.IFF"|
|00002220| 2c 30 20 20 20 20 20 3b | 20 47 65 74 20 61 20 70 |,0 ;| Get a p|
|00002230| 69 63 00 88 2e 20 31 2c | a6 01 28 30 29 2c 33 32 |ic... 1,|..(0),32|
|00002240| 30 2c 32 34 30 2c 33 32 | 30 2c 32 34 30 20 20 20 |0,240,32|0,240 |
|00002250| 20 20 20 20 20 20 3b 20 | 4d 61 6b 65 20 69 74 20 | ; |Make it |
|00002260| 63 68 75 6e 6b 79 00 87 | dd 20 30 2c 30 2c 50 72 |chunky..|. 0,0,Pr|
|00002270| 65 66 44 69 73 70 6c 61 | 79 57 69 64 74 68 2c 50 |efDispla|yWidth,P|
|00002280| 72 65 66 44 69 73 70 6c | 61 79 48 65 69 67 68 74 |refDispl|ayHeight|
|00002290| 2c 30 2c 30 2c 31 00 fd | 0a 20 2a 53 63 72 56 50 |,0,0,1..|. *ScrVP|
|000022a0| 2c da 02 2e 6c 28 80 b8 | 20 ce 09 28 30 29 29 00 |,...l(..| ..(0)).|
|000022b0| 00 6f 70 77 69 64 74 68 | 2e 77 3d 39 36 20 3b 20 |.opwidth|.w=96 ; |
|000022c0| 6d 75 6c 74 69 70 6c 65 | 20 6f 66 20 33 32 00 6f |multiple| of 32.o|
|000022d0| 70 68 65 69 67 68 74 2e | 77 3d 39 36 00 80 0b 20 |pheight.|w=96... |
|000022e0| 49 73 41 47 41 00 20 20 | 87 8b 20 88 19 28 30 29 |IsAGA. |.. ..(0)|
|000022f0| 2c 50 6c 61 6e 61 72 42 | 75 66 28 30 29 00 20 20 |,PlanarB|uf(0). |
|00002300| 80 0b 20 50 72 65 66 44 | 69 73 70 6c 61 79 42 75 |.. PrefD|isplayBu|
|00002310| 66 66 65 72 69 6e 67 3e | 3d 32 20 80 21 20 87 8b |ffering>|=2 .! ..|
|00002320| 20 88 19 28 30 29 2c 50 | 6c 61 6e 61 72 42 75 66 | ..(0),P|lanarBuf|
|00002330| 28 31 29 00 20 20 80 0b | 20 50 72 65 66 44 69 73 |(1). ..| PrefDis|
|00002340| 70 6c 61 79 42 75 66 66 | 65 72 69 6e 67 3d 33 20 |playBuff|ering=3 |
|00002350| 80 21 20 87 8b 20 88 19 | 28 30 29 2c 50 6c 61 6e |.! .. ..|(0),Plan|
|00002360| 61 72 42 75 66 28 32 29 | 00 20 20 87 87 20 30 2c |arBuf(2)|. .. 0,|
|00002370| 6f 70 77 69 64 74 68 2f | 33 32 2a 33 32 2c 6f 70 |opwidth/|32*32,op|
|00002380| 68 65 69 67 68 74 2c 50 | 72 65 66 44 69 73 70 6c |height,P|refDispl|
|00002390| 61 79 57 69 64 74 68 2c | 50 72 65 66 44 69 73 70 |ayWidth,|PrefDisp|
|000023a0| 6c 61 79 57 69 64 74 68 | 2c 50 72 65 66 44 69 73 |layWidth|,PrefDis|
|000023b0| 70 6c 61 79 48 65 69 67 | 68 74 00 80 c0 00 00 2e |playHeig|ht......|
|000023c0| 4c 6f 6f 70 00 62 75 66 | 2e 62 3d 30 00 69 74 73 |Loop.buf|.b=0.its|
|000023d0| 2e 6c 3d 30 00 63 6e 74 | 2e 62 3d 30 00 61 6e 67 |.l=0.cnt|.b=0.ang|
|000023e0| 2e 71 3d 30 00 64 65 67 | 72 61 64 2e 71 3d 80 ba |.q=0.deg|rad.q=..|
|000023f0| 2f 31 38 30 00 6d 61 67 | 2e 71 3d 31 00 b3 85 00 |/180.mag|.q=1....|
|00002400| 80 0c 20 df 04 28 30 29 | 3c 3e 33 20 80 42 20 df |.. ..(0)|<>3 .B .|
|00002410| 04 28 31 29 3d 30 00 20 | 20 80 0b 20 df 04 28 30 |.(1)=0. | .. ..(0|
|00002420| 29 3d 31 20 80 21 20 6d | 61 67 2b 30 2e 30 31 00 |)=1 .! m|ag+0.01.|
|00002430| 20 20 80 0b 20 df 04 28 | 30 29 3d 32 20 80 21 20 | .. ..(|0)=2 .! |
|00002440| 6d 61 67 2d 30 2e 30 31 | 00 20 20 61 6e 67 2b 31 |mag-0.01|. ang+1|
|00002450| 00 20 20 80 0b 20 61 6e | 67 3e 3d 33 36 30 20 80 |. .. an|g>=360 .|
|00002460| 21 20 61 6e 67 3d 2d 33 | 36 30 00 20 20 80 0b 20 |! ang=-3|60. .. |
|00002470| 61 6e 67 3c 30 20 80 21 | 20 61 6e 67 2b 33 36 30 |ang<0 .!| ang+360|
|00002480| 00 20 20 79 5f 75 61 64 | 64 2e 71 3d e0 05 28 28 |. y_uad|d.q=..((|
|00002490| 61 6e 67 2b 39 30 29 2a | 64 65 67 72 61 64 29 2a |ang+90)*|degrad)*|
|000024a0| 6d 61 67 00 20 20 79 5f | 76 61 64 64 2e 71 3d e0 |mag. y_|vadd.q=.|
|000024b0| 0a 28 28 61 6e 67 2b 39 | 30 29 2a 64 65 67 72 61 |.((ang+9|0)*degra|
|000024c0| 64 29 2a 6d 61 67 00 20 | 20 78 5f 75 61 64 64 2e |d)*mag. | x_uadd.|
|000024d0| 71 3d e0 05 28 61 6e 67 | 2a 64 65 67 72 61 64 29 |q=..(ang|*degrad)|
|000024e0| 2a 6d 61 67 00 20 20 78 | 5f 76 61 64 64 2e 71 3d |*mag. x|_vadd.q=|
|000024f0| e0 0a 28 61 6e 67 2a 64 | 65 67 72 61 64 29 2a 6d |..(ang*d|egrad)*m|
|00002500| 61 67 00 20 20 78 63 65 | 6e 74 65 72 3d cf 05 00 |ag. xce|nter=...|
|00002510| 20 20 79 63 65 6e 74 65 | 72 3d cf 06 00 20 20 79 | ycente|r=... y|
|00002520| 5f 75 2e 71 3d 2d 28 79 | 5f 75 61 64 64 2a 28 6f |_u.q=-(y|_uadd*(o|
|00002530| 70 68 65 69 67 68 74 2f | 32 29 29 2d 28 78 5f 75 |pheight/|2))-(x_u|
|00002540| 61 64 64 2a 28 6f 70 77 | 69 64 74 68 2f 32 29 29 |add*(opw|idth/2))|
|00002550| 00 20 20 79 5f 76 2e 71 | 3d 2d 28 79 5f 76 61 64 |. y_v.q|=-(y_vad|
|00002560| 64 2a 28 6f 70 68 65 69 | 67 68 74 2f 32 29 29 2d |d*(ophei|ght/2))-|
|00002570| 28 78 5f 76 61 64 64 2a | 28 6f 70 77 69 64 74 68 |(x_vadd*|(opwidth|
|00002580| 2f 32 29 29 00 20 20 80 | 16 20 79 3d 30 20 80 18 |/2)). .|. y=0 ..|
|00002590| 20 6f 70 68 65 69 67 68 | 74 2d 31 00 20 20 20 20 | opheigh|t-1. |
|000025a0| 78 5f 75 2e 71 3d 79 5f | 75 00 20 20 20 20 78 5f |x_u.q=y_|u. x_|
|000025b0| 76 2e 71 3d 79 5f 76 00 | 20 20 20 20 80 16 20 78 |v.q=y_v.| .. x|
|000025c0| 3d 30 20 80 18 20 6f 70 | 77 69 64 74 68 2d 31 00 |=0 .. op|width-1.|
|000025d0| 20 20 20 20 20 20 87 ea | 20 78 2c 79 2c 87 ee 28 | ..| x,y,..(|
|000025e0| 78 63 65 6e 74 65 72 2b | 78 5f 75 2c 79 63 65 6e |xcenter+|x_u,ycen|
|000025f0| 74 65 72 2b 78 5f 76 2c | 31 29 00 20 20 20 20 20 |ter+x_v,|1). |
|00002600| 20 78 5f 75 2b 78 5f 75 | 61 64 64 00 20 20 20 20 | x_u+x_u|add. |
|00002610| 20 20 78 5f 76 2b 78 5f | 76 61 64 64 00 20 20 20 | x_v+x_|vadd. |
|00002620| 20 80 17 20 78 00 20 20 | 20 20 79 5f 75 2b 79 5f | .. x. | y_u+y_|
|00002630| 75 61 64 64 00 20 20 20 | 20 79 5f 76 2b 79 5f 76 |uadd. | y_v+y_v|
|00002640| 61 64 64 00 20 20 80 17 | 20 79 00 00 20 20 3b 44 |add. ..| y.. ;D|
|00002650| 69 73 70 6c 61 79 00 20 | 20 80 0b 20 49 73 41 47 |isplay. | .. IsAG|
|00002660| 41 00 20 20 20 20 87 8b | 20 88 19 28 30 29 2c 50 |A. ..| ..(0),P|
|00002670| 6c 61 6e 61 72 42 75 66 | 28 62 75 66 29 00 20 20 |lanarBuf|(buf). |
|00002680| 20 20 80 0b 20 50 72 65 | 66 44 69 73 70 6c 61 79 | .. Pre|fDisplay|
|00002690| 42 75 66 66 65 72 69 6e | 67 3e 31 00 20 20 20 20 |Bufferin|g>1. |
|000026a0| 20 20 cf 0a 20 62 75 66 | 00 20 20 20 20 20 20 62 | .. buf|. b|
|000026b0| 75 66 2b 31 00 20 20 20 | 20 20 20 80 0b 20 62 75 |uf+1. | .. bu|
|000026c0| 66 3d 50 72 65 66 44 69 | 73 70 6c 61 79 42 75 66 |f=PrefDi|splayBuf|
|000026d0| 66 65 72 69 6e 67 20 80 | 21 20 62 75 66 3d 30 00 |fering .|! buf=0.|
|000026e0| 20 20 20 20 80 c0 00 20 | 20 80 22 00 20 20 20 20 | ... | .". |
|000026f0| 2a 52 50 30 2e 5f 52 61 | 73 74 50 6f 72 74 3d c5 |*RP0._Ra|stPort=.|
|00002700| 39 28 30 29 00 20 20 20 | 20 80 0e 20 50 72 65 66 |9(0). | .. Pref|
|00002710| 44 69 73 70 6c 61 79 4d | 65 74 68 6f 64 00 00 20 |DisplayM|ethod.. |
|00002720| 20 20 20 20 20 80 0f 20 | 30 20 3b 20 57 72 69 74 | .. |0 ; Writ|
|00002730| 65 50 69 78 65 6c 41 72 | 72 61 79 38 00 20 20 20 |ePixelAr|ray8. |
|00002740| 20 20 20 80 0b 20 50 72 | 65 66 44 69 73 70 6c 61 | .. Pr|efDispla|
|00002750| 79 42 75 66 66 65 72 69 | 6e 67 3e 31 00 20 20 20 |yBufferi|ng>1. |
|00002760| 20 20 20 20 20 2a 52 50 | 31 2e 5f 52 61 73 74 50 | *RP|1._RastP|
|00002770| 6f 72 74 3d c5 39 28 a5 | 89 28 50 72 65 66 44 69 |ort=.9(.|.(PrefDi|
|00002780| 73 70 6c 61 79 42 75 66 | 66 65 72 69 6e 67 2d 31 |splayBuf|fering-1|
|00002790| 2c 63 6e 74 2b 31 29 29 | 00 20 20 20 20 20 20 20 |,cnt+1))|. |
|000027a0| 20 80 0b 20 4f 53 56 65 | 72 73 69 6f 6e 3c 34 30 | .. OSVe|rsion<40|
|000027b0| 00 20 20 20 20 20 20 20 | 20 20 20 87 a1 20 35 00 |. | .. 5.|
|000027c0| 20 20 20 20 20 20 20 20 | 20 20 87 dd 20 30 2c 30 | | .. 0,0|
|000027d0| 2c 50 72 65 66 44 69 73 | 70 6c 61 79 57 69 64 74 |,PrefDis|playWidt|
|000027e0| 68 2c 50 72 65 66 44 69 | 73 70 6c 61 79 48 65 69 |h,PrefDi|splayHei|
|000027f0| 67 68 74 2c 30 2c 30 2c | 30 20 3b 20 46 72 6f 6d |ght,0,0,|0 ; From|
|00002800| 20 77 69 6e 64 6f 77 20 | 69 6e 20 6d 6f 64 75 6c | window |in modul|
|00002810| 6f 20 62 69 74 6d 61 70 | 2c 20 74 6f 20 6e 6f 6e |o bitmap|, to non|
|00002820| 6d 6f 64 75 6c 6f 20 62 | 69 74 6d 61 70 00 20 20 |modulo b|itmap. |
|00002830| 20 20 20 20 20 20 20 20 | 87 a1 20 30 00 20 20 20 | |.. 0. |
|00002840| 20 20 20 20 20 20 20 ff | 7a 20 2a 52 50 31 2c 30 | .|z *RP1,0|
|00002850| 2c 30 2c 50 72 65 66 44 | 69 73 70 6c 61 79 57 69 |,0,PrefD|isplayWi|
|00002860| 64 74 68 2d 31 2c 50 72 | 65 66 44 69 73 70 6c 61 |dth-1,Pr|efDispla|
|00002870| 79 48 65 69 67 68 74 2d | 31 2c 88 19 28 35 29 2c |yHeight-|1,..(5),|
|00002880| 30 00 20 20 20 20 20 20 | 20 20 80 22 00 20 20 20 |0. | .". |
|00002890| 20 20 20 20 20 20 20 fd | 24 20 2a 52 50 31 2c 30 | .|$ *RP1,0|
|000028a0| 2c 30 2c 50 72 65 66 44 | 69 73 70 6c 61 79 57 69 |,0,PrefD|isplayWi|
|000028b0| 64 74 68 2d 31 2c 50 72 | 65 66 44 69 73 70 6c 61 |dth-1,Pr|efDispla|
|000028c0| 79 48 65 69 67 68 74 2d | 31 2c 88 19 28 30 29 2c |yHeight-|1,..(0),|
|000028d0| 87 97 28 30 29 00 20 20 | 20 20 20 20 20 20 80 c0 |..(0). | ..|
|000028e0| 00 20 20 20 20 20 20 20 | 20 ff 58 20 2a 52 50 31 |. | .X *RP1|
|000028f0| 2c 30 2c 30 2c 2a 52 50 | 30 2c 30 2c 30 2c 50 72 |,0,0,*RP|0,0,0,Pr|
|00002900| 65 66 44 69 73 70 6c 61 | 79 57 69 64 74 68 2c 50 |efDispla|yWidth,P|
|00002910| 72 65 66 44 69 73 70 6c | 61 79 48 65 69 67 68 74 |refDispl|ayHeight|
|00002920| 2c 24 43 30 00 20 20 20 | 20 20 20 20 20 80 0b 20 |,$C0. | .. |
|00002930| 50 72 65 66 44 69 73 70 | 6c 61 79 42 75 66 66 65 |PrefDisp|layBuffe|
|00002940| 72 69 6e 67 3d 33 20 80 | 21 20 63 6e 74 3d 31 2d |ring=3 .|! cnt=1-|
|00002950| 63 6e 74 20 3b 20 54 6f | 67 67 6c 65 20 6f 75 74 |cnt ; To|ggle out|
|00002960| 70 75 74 20 62 75 66 66 | 65 72 00 20 20 20 20 20 |put buff|er. |
|00002970| 20 80 22 00 20 20 20 20 | 20 20 20 20 80 0b 20 4f | .". | .. O|
|00002980| 53 56 65 72 73 69 6f 6e | 3c 34 30 00 20 20 20 20 |SVersion|<40. |
|00002990| 20 20 20 20 20 20 87 a1 | 35 00 20 20 20 20 20 20 | ..|5. |
|000029a0| 20 20 20 20 87 dd 20 30 | 2c 30 2c 50 72 65 66 44 | .. 0|,0,PrefD|
|000029b0| 69 73 70 6c 61 79 57 69 | 64 74 68 2c 50 72 65 66 |isplayWi|dth,Pref|
|000029c0| 44 69 73 70 6c 61 79 48 | 65 69 67 68 74 2c 30 2c |DisplayH|eight,0,|
|000029d0| 30 2c 30 20 3b 20 46 72 | 6f 6d 20 77 69 6e 64 6f |0,0 ; Fr|om windo|
|000029e0| 77 20 69 6e 20 6d 6f 64 | 75 6c 6f 20 62 69 74 6d |w in mod|ulo bitm|
|000029f0| 61 70 2c 20 74 6f 20 6e | 6f 6e 6d 6f 64 75 6c 6f |ap, to n|onmodulo|
|00002a00| 20 62 69 74 6d 61 70 00 | 20 20 20 20 20 20 20 20 | bitmap.| |
|00002a10| 20 20 87 a1 20 30 00 20 | 20 20 20 20 20 20 20 20 | .. 0. | |
|00002a20| 20 ff 7a 20 2a 52 50 30 | 2c 30 2c 30 2c 50 72 65 | .z *RP0|,0,0,Pre|
|00002a30| 66 44 69 73 70 6c 61 79 | 57 69 64 74 68 2d 31 2c |fDisplay|Width-1,|
|00002a40| 50 72 65 66 44 69 73 70 | 6c 61 79 48 65 69 67 68 |PrefDisp|layHeigh|
|00002a50| 74 2d 31 2c 88 19 28 35 | 29 2c 30 00 20 20 20 20 |t-1,..(5|),0. |
|00002a60| 20 20 20 20 80 22 00 20 | 20 20 20 20 20 20 20 20 | .". | |
|00002a70| 20 fd 24 20 2a 52 50 30 | 2c 30 2c 30 2c 50 72 65 | .$ *RP0|,0,0,Pre|
|00002a80| 66 44 69 73 70 6c 61 79 | 57 69 64 74 68 2d 31 2c |fDisplay|Width-1,|
|00002a90| 50 72 65 66 44 69 73 70 | 6c 61 79 48 65 69 67 68 |PrefDisp|layHeigh|
|00002aa0| 74 2d 31 2c 88 19 28 30 | 29 2c 87 97 28 30 29 00 |t-1,..(0|),..(0).|
|00002ab0| 20 20 20 20 20 20 20 20 | 80 c0 00 20 20 20 20 20 | |... |
|00002ac0| 20 80 c0 00 00 20 20 20 | 20 20 20 80 0f 20 31 20 | .... | .. 1 |
|00002ad0| 3b 20 4d 42 6c 6f 63 6b | 53 63 72 6f 6c 6c 00 20 |; MBlock|Scroll. |
|00002ae0| 20 20 20 20 20 80 0b 20 | 43 47 46 58 41 76 61 69 | .. |CGFXAvai|
|00002af0| 6c 20 80 42 20 50 72 65 | 66 43 47 46 58 4c 6f 63 |l .B Pre|fCGFXLoc|
|00002b00| 6b 00 20 20 20 20 20 20 | 20 20 80 04 20 43 47 46 |k. | .. CGF|
|00002b10| 58 54 61 67 73 2e 54 61 | 67 49 74 65 6d 28 31 29 |XTags.Ta|gItem(1)|
|00002b20| 00 20 20 20 20 20 20 20 | 20 43 47 46 58 44 61 74 |. | CGFXDat|
|00002b30| 61 2e 6c 3d 30 00 20 20 | 20 20 20 20 20 20 43 47 |a.l=0. | CG|
|00002b40| 46 58 54 61 67 73 28 30 | 29 5c 74 69 5f 54 61 67 |FXTags(0|)\ti_Tag|
|00002b50| 3d 23 4c 42 4d 49 5f 42 | 41 53 45 41 44 44 52 45 |=#LBMI_B|ASEADDRE|
|00002b60| 53 53 2c 26 43 47 46 58 | 44 61 74 61 00 20 20 20 |SS,&CGFX|Data. |
|00002b70| 20 20 20 20 20 43 47 46 | 58 54 61 67 73 28 31 29 | CGF|XTags(1)|
|00002b80| 5c 74 69 5f 54 61 67 3d | 23 54 41 47 5f 44 4f 4e |\ti_Tag=|#TAG_DON|
|00002b90| 45 2c 30 00 20 20 20 20 | 20 20 20 20 4c 6f 63 6b |E,0. | Lock|
|00002ba0| 48 61 6e 64 6c 65 2e 6c | 3d 8a 12 28 2a 52 50 30 |Handle.l|=..(*RP0|
|00002bb0| 5c 5f 42 69 74 4d 61 70 | 2c 26 43 47 46 58 54 61 |\_BitMap|,&CGFXTa|
|00002bc0| 67 73 28 30 29 29 00 20 | 20 20 20 20 20 20 20 87 |gs(0)). | .|
|00002bd0| a6 20 34 2c 50 72 65 66 | 44 69 73 70 6c 61 79 57 |. 4,Pref|DisplayW|
|00002be0| 69 64 74 68 2c 50 72 65 | 66 44 69 73 70 6c 61 79 |idth,Pre|fDisplay|
|00002bf0| 48 65 69 67 68 74 2a 50 | 72 65 66 44 69 73 70 6c |Height*P|refDispl|
|00002c00| 61 79 42 75 66 66 65 72 | 69 6e 67 2c 43 47 46 58 |ayBuffer|ing,CGFX|
|00002c10| 44 61 74 61 00 20 20 20 | 20 20 20 80 22 00 20 20 |Data. | .". |
|00002c20| 20 20 20 20 20 20 87 a6 | 20 34 2c 50 72 65 66 44 | ..| 4,PrefD|
|00002c30| 69 73 70 6c 61 79 57 69 | 64 74 68 2c 50 72 65 66 |isplayWi|dth,Pref|
|00002c40| 44 69 73 70 6c 61 79 48 | 65 69 67 68 74 2a 50 72 |DisplayH|eight*Pr|
|00002c50| 65 66 44 69 73 70 6c 61 | 79 42 75 66 66 65 72 69 |efDispla|yBufferi|
|00002c60| 6e 67 2c 2a 52 50 30 5c | 5f 42 69 74 4d 61 70 5c |ng,*RP0\|_BitMap\|
|00002c70| 50 6c 61 6e 65 73 00 20 | 20 20 20 20 20 80 c0 00 |Planes. | ...|
|00002c80| 20 20 20 20 20 20 80 0b | 20 50 72 65 66 44 69 73 | ..| PrefDis|
|00002c90| 70 6c 61 79 42 75 66 66 | 65 72 69 6e 67 3e 31 00 |playBuff|ering>1.|
|00002ca0| 20 20 20 20 20 20 20 20 | 2a 52 50 31 2e 5f 52 61 | |*RP1._Ra|
|00002cb0| 73 74 50 6f 72 74 3d c5 | 39 28 a5 89 28 50 72 65 |stPort=.|9(..(Pre|
|00002cc0| 66 44 69 73 70 6c 61 79 | 42 75 66 66 65 72 69 6e |fDisplay|Bufferin|
|00002cd0| 67 2d 31 2c 63 6e 74 2b | 31 29 29 00 20 20 20 20 |g-1,cnt+|1)). |
|00002ce0| 20 20 20 20 87 dd 20 30 | 2c 30 2c 50 72 65 66 44 | .. 0|,0,PrefD|
|00002cf0| 69 73 70 6c 61 79 57 69 | 64 74 68 2c 50 72 65 66 |isplayWi|dth,Pref|
|00002d00| 44 69 73 70 6c 61 79 48 | 65 69 67 68 74 2c 30 2c |DisplayH|eight,0,|
|00002d10| 50 72 65 66 44 69 73 70 | 6c 61 79 48 65 69 67 68 |PrefDisp|layHeigh|
|00002d20| 74 2b 28 63 6e 74 2a 50 | 72 65 66 44 69 73 70 6c |t+(cnt*P|refDispl|
|00002d30| 61 79 48 65 69 67 68 74 | 29 2c 30 20 3b 20 46 72 |ayHeight|),0 ; Fr|
|00002d40| 6f 6d 20 6d 6f 64 75 6c | 6f 20 62 69 74 6d 61 70 |om modul|o bitmap|
|00002d50| 00 20 20 20 20 20 20 20 | 20 ff 58 20 2a 52 50 31 |. | .X *RP1|
|00002d60| 2c 30 2c 30 2c 2a 52 50 | 30 2c 30 2c 30 2c 50 72 |,0,0,*RP|0,0,0,Pr|
|00002d70| 65 66 44 69 73 70 6c 61 | 79 57 69 64 74 68 2c 50 |efDispla|yWidth,P|
|00002d80| 72 65 66 44 69 73 70 6c | 61 79 48 65 69 67 68 74 |refDispl|ayHeight|
|00002d90| 2c 24 43 30 00 20 20 20 | 20 20 20 20 20 80 0b 20 |,$C0. | .. |
|00002da0| 50 72 65 66 44 69 73 70 | 6c 61 79 42 75 66 66 65 |PrefDisp|layBuffe|
|00002db0| 72 69 6e 67 3d 33 20 80 | 21 20 63 6e 74 3d 31 2d |ring=3 .|! cnt=1-|
|00002dc0| 63 6e 74 20 3b 20 54 6f | 67 67 6c 65 20 6f 75 74 |cnt ; To|ggle out|
|00002dd0| 70 75 74 20 62 75 66 66 | 65 72 00 20 20 20 20 20 |put buff|er. |
|00002de0| 20 80 22 00 20 20 20 20 | 20 20 20 20 87 dd 20 30 | .". | .. 0|
|00002df0| 2c 30 2c 50 72 65 66 44 | 69 73 70 6c 61 79 57 69 |,0,PrefD|isplayWi|
|00002e00| 64 74 68 2c 50 72 65 66 | 44 69 73 70 6c 61 79 48 |dth,Pref|DisplayH|
|00002e10| 65 69 67 68 74 2c 30 2c | 30 2c 30 20 3b 20 46 72 |eight,0,|0,0 ; Fr|
|00002e20| 6f 6d 20 6d 6f 64 75 6c | 6f 20 62 69 74 6d 61 70 |om modul|o bitmap|
|00002e30| 00 20 20 20 20 20 20 80 | c0 00 20 20 20 20 20 20 |. .|.. |
|00002e40| 87 a1 20 30 00 20 20 20 | 20 20 20 80 0b 20 43 47 |.. 0. | .. CG|
|00002e50| 46 58 41 76 61 69 6c 20 | 80 42 20 28 4c 6f 63 6b |FXAvail |.B (Lock|
|00002e60| 48 61 6e 64 6c 65 3c 3e | 30 29 20 80 42 20 50 72 |Handle<>|0) .B Pr|
|00002e70| 65 66 43 47 46 58 4c 6f | 63 6b 20 80 21 20 8a 13 |efCGFXLo|ck .! ..|
|00002e80| 20 4c 6f 63 6b 48 61 6e | 64 6c 65 00 00 20 20 20 | LockHan|dle.. |
|00002e90| 20 20 20 80 0f 20 32 20 | 3b 20 43 47 46 58 57 72 | .. 2 |; CGFXWr|
|00002ea0| 69 74 65 43 68 75 6e 6b | 79 50 69 78 65 6c 73 00 |iteChunk|yPixels.|
|00002eb0| 20 20 20 20 20 20 80 0b | 20 50 72 65 66 44 69 73 | ..| PrefDis|
|00002ec0| 70 6c 61 79 42 75 66 66 | 65 72 69 6e 67 3e 31 00 |playBuff|ering>1.|
|00002ed0| 20 20 20 20 20 20 20 20 | 2a 52 50 31 2e 5f 52 61 | |*RP1._Ra|
|00002ee0| 73 74 50 6f 72 74 3d c5 | 39 28 a5 89 28 50 72 65 |stPort=.|9(..(Pre|
|00002ef0| 66 44 69 73 70 6c 61 79 | 42 75 66 66 65 72 69 6e |fDisplay|Bufferin|
|00002f00| 67 2d 31 2c 63 6e 74 2b | 31 29 29 00 20 20 20 20 |g-1,cnt+|1)). |
|00002f10| 20 20 20 20 8a 0c 20 88 | 19 28 30 29 2c 30 2c 30 | .. .|.(0),0,0|
|00002f20| 2c 87 97 28 30 29 2c 2a | 52 50 31 2c 30 2c 30 2c |,..(0),*|RP1,0,0,|
|00002f30| 50 72 65 66 44 69 73 70 | 6c 61 79 57 69 64 74 68 |PrefDisp|layWidth|
|00002f40| 2c 50 72 65 66 44 69 73 | 70 6c 61 79 48 65 69 67 |,PrefDis|playHeig|
|00002f50| 68 74 2c 23 52 45 43 54 | 46 4d 54 5f 4c 55 54 38 |ht,#RECT|FMT_LUT8|
|00002f60| 00 20 20 20 20 20 20 20 | 20 ff 58 20 2a 52 50 31 |. | .X *RP1|
|00002f70| 2c 30 2c 30 2c 2a 52 50 | 30 2c 30 2c 30 2c 50 72 |,0,0,*RP|0,0,0,Pr|
|00002f80| 65 66 44 69 73 70 6c 61 | 79 57 69 64 74 68 2c 50 |efDispla|yWidth,P|
|00002f90| 72 65 66 44 69 73 70 6c | 61 79 48 65 69 67 68 74 |refDispl|ayHeight|
|00002fa0| 2c 24 43 30 00 20 20 20 | 20 20 20 20 20 80 0b 20 |,$C0. | .. |
|00002fb0| 50 72 65 66 44 69 73 70 | 6c 61 79 42 75 66 66 65 |PrefDisp|layBuffe|
|00002fc0| 72 69 6e 67 3d 33 20 80 | 21 20 63 6e 74 3d 31 2d |ring=3 .|! cnt=1-|
|00002fd0| 63 6e 74 20 3b 20 54 6f | 67 67 6c 65 20 6f 75 74 |cnt ; To|ggle out|
|00002fe0| 70 75 74 20 62 75 66 66 | 65 72 00 20 20 20 20 20 |put buff|er. |
|00002ff0| 20 80 22 00 20 20 20 20 | 20 20 20 20 8a 0c 20 88 | .". | .. .|
|00003000| 19 28 30 29 2c 30 2c 30 | 2c 87 97 28 30 29 2c 2a |.(0),0,0|,..(0),*|
|00003010| 52 50 30 2c 30 2c 30 2c | 50 72 65 66 44 69 73 70 |RP0,0,0,|PrefDisp|
|00003020| 6c 61 79 57 69 64 74 68 | 2c 50 72 65 66 44 69 73 |layWidth|,PrefDis|
|00003030| 70 6c 61 79 48 65 69 67 | 68 74 2c 23 52 45 43 54 |playHeig|ht,#RECT|
|00003040| 46 4d 54 5f 4c 55 54 38 | 00 20 20 20 20 20 20 80 |FMT_LUT8|. .|
|00003050| c0 00 20 20 20 20 80 02 | 20 80 0e 00 20 20 80 c0 |.. ..| ... ..|
|00003060| 00 00 20 20 69 74 73 2b | 31 00 80 c1 00 00 3b 52 |.. its+|1.....;R|
|00003070| 65 70 6f 72 74 00 74 3d | a5 88 00 74 3d a5 8d 28 |eport.t=|...t=..(|
|00003080| 74 2c 31 29 00 69 74 73 | 3d a5 8d 28 69 74 73 2c |t,1).its|=..(its,|
|00003090| 31 29 00 61 2e 71 3d 35 | 30 2e 30 2f 28 74 2f 69 |1).a.q=5|0.0/(t/i|
|000030a0| 74 73 29 00 ff b5 00 cf | 02 20 31 00 c5 01 20 32 |ts).....|. 1... 2|
|000030b0| 2c 31 36 2c 31 36 2c 33 | 30 30 2c 34 30 2c 30 2c |,16,16,3|00,40,0,|
|000030c0| 22 54 65 73 74 20 72 65 | 73 75 6c 74 73 22 2c 31 |"Test re|sults",1|
|000030d0| 2c 30 00 c5 12 20 32 00 | dd 82 20 61 2c 22 20 66 |,0... 2.|.. a," f|
|000030e0| 72 61 6d 65 73 20 70 65 | 72 20 73 65 63 6f 6e 64 |rames pe|r second|
|000030f0| 22 00 dd 82 20 22 20 22 | 00 dd 82 20 22 50 72 65 |"... " "|... "Pre|
|00003100| 73 73 20 6d 6f 75 73 65 | 2f 6a 6f 79 20 62 75 74 |ss mouse|/joy but|
|00003110| 74 6f 6e 2e 2e 2e 22 00 | 80 37 20 32 30 00 80 bb |ton...".|.7 20...|
|00003120| 00 80 bc 20 df 04 28 30 | 29 3c 3e 30 20 80 8a 20 |... ..(0|)<>0 .. |
|00003130| df 04 28 31 29 3c 3e 30 | 00 00 46 69 6e 69 73 68 |..(1)<>0|..Finish|
|00003140| 3a 00 80 02 00 00 | |:..... | |
+--------+-------------------------+-------------------------+--------+--------+